Changeset 11018 for code/trunk/src/libraries/tools/Timer.cc
- Timestamp:
- Jan 2, 2016, 8:59:12 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/tools/Timer.cc
r10624 r11018 104 104 { 105 105 CommandExecutor::execute(command); 106 timer->destroy();106 delete timer; 107 107 delaytimers.right.erase(timer); 108 108 } … … 114 114 { 115 115 for (boost::bimap<unsigned int, Timer*>::left_map::iterator it = delaytimers.left.begin(); it != delaytimers.left.end(); ++it) 116 it->second->destroy();116 delete it->second; 117 117 118 118 delaytimers.clear(); … … 127 127 if (it != delaytimers.left.end()) 128 128 { 129 it->second->destroy();129 delete it->second; 130 130 delaytimers.left.erase(it); 131 131 } … … 210 210 211 211 if (temp) 212 this->destroy();212 delete this; 213 213 } 214 214
Note: See TracChangeset
for help on using the changeset viewer.