Fixed shutdown implementation

This commit is contained in:
Denis-Cosmin Nutiu 2017-12-15 21:25:55 +02:00
parent 897fd1f80c
commit 58f80eda14

View file

@ -101,8 +101,8 @@ func shutdownHandler() {
}()
wg.Wait()
go ShutdownFtpServer()
go ShutdownUploadServer()
ShutdownFtpServer()
ShutdownUploadServer()
return
}
}