Changeset 2031 for code/branches/objecthierarchy/src/orxonox/tools
- Timestamp:
- Oct 28, 2008, 9:11:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/tools/Timer.cc
r1968 r2031 112 112 void TimerBase::run() const 113 113 { 114 bool temp = this->bKillAfterCall_; // to avoid errors with bKillAfterCall_=false and an exutors which destroy the timer 115 114 116 (*this->executor_)(); 115 117 116 if (t his->bKillAfterCall_)118 if (temp) 117 119 delete this; 118 120 }
Note: See TracChangeset
for help on using the changeset viewer.