Explorar o código

Remove invalid assertion

Ivan Savenko hai 1 ano
pai
achega
fe918de2df
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  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);