aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/bnetserver/Main.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/server/bnetserver/Main.cpp b/src/server/bnetserver/Main.cpp
index 6299ae802a7..20d1193b8e2 100644
--- a/src/server/bnetserver/Main.cpp
+++ b/src/server/bnetserver/Main.cpp
@@ -160,13 +160,14 @@ int main(int argc, char** argv)
// Close the Database Pool and library
StopDB();
- _ioService.reset();
-
TC_LOG_INFO("server.bnetserver", "Halting process...");
+
+ signals.clear();
+
+ _ioService.reset();
return 0;
}
-
/// Initialize connection to the database
bool StartDB()
{