Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 28, 2008, 9:11:02 PM (16 years ago)
Author:
landauf
Message:

some small adjustments in the network

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/tools/Timer.cc

    r1968 r2031  
    112112    void TimerBase::run() const
    113113    {
     114        bool temp = this->bKillAfterCall_; // to avoid errors with bKillAfterCall_=false and an exutors which destroy the timer
     115
    114116        (*this->executor_)();
    115117
    116         if (this->bKillAfterCall_)
     118        if (temp)
    117119            delete this;
    118120    }
Note: See TracChangeset for help on using the changeset viewer.