Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3197


Ignore:
Timestamp:
Jun 20, 2009, 3:26:42 PM (16 years ago)
Author:
scheusso
Message:

small hackfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp4/src/network/TrafficControl.cc

    r3137 r3197  
    314314  void TrafficControl::clientDisconnected(unsigned int clientID)
    315315  {
    316     assert(clientListTemp_.find(clientID) != clientListTemp_.end() );
    317     assert(clientListPerm_.find(clientID) != clientListPerm_.end() );
    318     clientListTemp_.erase(clientListTemp_.find(clientID));
    319     clientListPerm_.erase(clientListPerm_.find(clientID));
     316    if(bActive_)
     317    {
     318      assert(clientListTemp_.find(clientID) != clientListTemp_.end() );
     319      assert(clientListPerm_.find(clientID) != clientListPerm_.end() );
     320      clientListTemp_.erase(clientListTemp_.find(clientID));
     321      clientListPerm_.erase(clientListPerm_.find(clientID));
     322    }
    320323  }
    321324
Note: See TracChangeset for help on using the changeset viewer.