Commit 92aeda93 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Removing assertion where everything is too late anyway.

parent dff2fa61
......@@ -802,7 +802,9 @@ void CVANetServerImpl::RemoveClient( int iClientID, int iStatusCode )
VistaMutexLock oEventChannelLock( *m_pEventChannelLock );
VistaMutexLock oHandlerLock( *m_pEventHandlerLock );
assert( iClientID >= 0 && iClientID < ( int ) m_vecClients.size() );
if( m_vecClients.size() == 0 )
return; // Clients already gone ...
std::vector<CClientData>::iterator itClient = m_vecClients.begin() + iClientID;
#ifdef VANET_SERVER_VERBOSE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment