Browse Source

Remove invalid assertion

Ivan Savenko 1 year ago
parent
commit
fe918de2df
1 changed files with 0 additions and 3 deletions
  1. 0 3
      client/CServerHandler.cpp

+ 0 - 3
client/CServerHandler.cpp

@@ -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);