From 58f80eda148684ef622604d792222288866608d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Nu=C8=9Biu?= Date: Fri, 15 Dec 2017 21:25:55 +0200 Subject: [PATCH] Fixed shutdown implementation --- server/server/connection.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } }