Changeset 5797 for code/branches
- Timestamp:
- Sep 26, 2009, 10:17:21 PM (15 years ago)
- Location:
- code/branches/core5/src/libraries/network
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/network/GamestateClient.cc
r5738 r5797 108 108 ObjectList<Synchronisable>::iterator temp=it; 109 109 ++it; 110 delete *temp;110 temp->destroy(); // or delete? 111 111 } 112 112 -
code/branches/core5/src/libraries/network/GamestateManager.cc
r5738 r5797 77 77 delete (*it2).second; 78 78 } 79 delete this->trafficControl_;79 this->trafficControl_->destroy(); 80 80 // delete this->threadMutex_; 81 81 // delete this->threadPool_; -
code/branches/core5/src/libraries/network/NetworkFunction.cc
r5738 r5797 60 60 std::map<std::string, NetworkFunctionBase*>::iterator it; 61 61 for( it=NetworkFunctionBase::nameMap_.begin(); it!=NetworkFunctionBase::nameMap_.end(); ++it ) 62 delete it->second;62 it->second->destroy(); 63 63 } 64 64 -
code/branches/core5/src/libraries/network/synchronisable/Synchronisable.cc
r5743 r5797 201 201 Synchronisable *s = getSynchronisable(objectID); 202 202 if(s) 203 delete s;203 s->destroy(); // or delete? 204 204 else 205 205 return false;
Note: See TracChangeset
for help on using the changeset viewer.