mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Remove invalid assertion
This commit is contained in:
parent
fc252bb9eb
commit
fe918de2df
@ -832,10 +832,7 @@ void CServerHandler::onPacketReceived(const std::shared_ptr<INetworkConnection>
|
||||
boost::mutex::scoped_lock interfaceLock(GH.interfaceMutex);
|
||||
|
||||
if(getState() == EClientState::DISCONNECTING)
|
||||
{
|
||||
assert(0); //Should not be possible - socket must be closed at this point
|
||||
return;
|
||||
}
|
||||
|
||||
CPack * pack = logicConnection->retrievePack(message);
|
||||
ServerHandlerCPackVisitor visitor(*this);
|
||||
|
Loading…
Reference in New Issue
Block a user