diff --git a/server/server/connection.go b/server/server/connection.go index 4194fbe..4c51aff 100644 --- a/server/server/connection.go +++ b/server/server/connection.go @@ -101,8 +101,8 @@ func shutdownHandler() { }() wg.Wait() - go ShutdownFtpServer() - go ShutdownUploadServer() + ShutdownFtpServer() + ShutdownUploadServer() return } }