Core/Battlenet: Fixed possible shutdown crash

This commit is contained in:
Shauren
2015-04-22 00:03:49 +02:00
parent dab8e12413
commit 0147f37eb0

View File

@@ -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()
{