Changeset 3312
- Timestamp:
- Jul 19, 2009, 2:36:46 PM (15 years ago)
- Location:
- code/trunk/src/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/ServerConnection.cc
r3214 r3312 125 125 ClientInformation *temp = ClientInformation::getBegin(); 126 126 while(temp!=0){ 127 disconnect Peer( &event);127 disconnectClient( temp ); 128 128 temp = temp->next(); 129 129 } -
code/trunk/src/network/TrafficControl.cc
r3301 r3312 314 314 void TrafficControl::clientDisconnected(unsigned int clientID) 315 315 { 316 assert(clientListTemp_.find(clientID) != clientListTemp_.end() ); 317 assert(clientListPerm_.find(clientID) != clientListPerm_.end() ); 316 if( clientListPerm_.find(clientID) == clientListPerm_.end() ) 317 { 318 assert(!this->bActive_); 319 return; 320 } 318 321 clientListTemp_.erase(clientListTemp_.find(clientID)); 319 clientListPerm_.erase(clientListPerm_.find(clientID)); 322 if( clientListTemp_.find(clientID) != clientListTemp_.end() ) 323 clientListPerm_.erase(clientListPerm_.find(clientID)); 320 324 } 321 325
Note: See TracChangeset
for help on using the changeset viewer.