Changeset 16483 for trunk/FACT++


Ignore:
Timestamp:
05/30/13 14:56:03 (12 years ago)
Author:
tbretz
Message:
Added also a one second sleep before shutting down dim. This allows the log message queue to get empty.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/StateMachineDim.h

    r14565 r16483  
    3939        {
    4040            DimServer::start(name.c_str());
     41
     42            // Give some time to come up before
     43            // the first log messages are sent
    4144            sleep(1);
    4245        }
     
    4447    ~DimStart()
    4548    {
     49        // Give some time for pending log messages to be
     50        // transmitted before the network is stopped
     51        sleep(1);
    4652        DimServer::stop();
    4753    }
Note: See TracChangeset for help on using the changeset viewer.