mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Eliminate warnings / errors. Pull request #388
This commit is contained in:
committed by
Arseniy Shestakov
parent
3c1c72319b
commit
3795985de9
@@ -161,7 +161,8 @@ void CPregameServer::run()
|
||||
if(state != RUNNING)
|
||||
{
|
||||
logNetwork->info("Stopping listening for connections...");
|
||||
acceptor->close();
|
||||
if(acceptor)
|
||||
acceptor->close();
|
||||
}
|
||||
|
||||
if(acceptor)
|
||||
|
||||
Reference in New Issue
Block a user