mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
Simplified code
This commit is contained in:
@ -129,7 +129,15 @@ public:
|
||||
CServerHandler::~CServerHandler()
|
||||
{
|
||||
networkHandler->stop();
|
||||
threadNetwork->join();
|
||||
try
|
||||
{
|
||||
threadNetwork->join();
|
||||
}
|
||||
catch (const std::runtime_error & e)
|
||||
{
|
||||
logGlobal->error("Failed to shut down network thread! Reason: %s", e.what());
|
||||
assert(false);
|
||||
}
|
||||
}
|
||||
|
||||
CServerHandler::CServerHandler()
|
||||
|
Reference in New Issue
Block a user