Ignore:
Timestamp:
Feb 5, 2010, 9:46:33 AM (14 years ago)
Author:
Christoph Mayer
Message:

-timer shutdown fix, -bootstrap module shutdown fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/system/Timer.cpp

    r7533 r7536  
    5555Timer::~Timer() {
    5656#ifndef UNDERLAY_OMNET
    57         if( running ){
    58                 running = false;
    59 
    60                 timerThread->join();
    61                 delete timerThread;
    62                 timerThread = NULL;
    63         }
     57        stop();
     58        delete timerThread;
     59        timerThread = NULL;
    6460#endif // UNDERLAY_OMNET
    6561}
     
    10197        reset(); // cause the sleep to abort
    10298        SystemQueue::instance().dropAll(this);
     99        timerThread->join();
    103100}
    104101
Note: See TracChangeset for help on using the changeset viewer.