Changeset 13650 for trunk/FACT++/src


Ignore:
Timestamp:
05/11/12 19:54:00 (13 years ago)
Author:
tbretz
Message:
Instead of calling shell.Stop(), simply shell.Run() is not called if option 'quit' is given.
File:
1 edited

Legend:

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

    r13007 r13650  
    182182            shell.Execute(*it);
    183183
    184         if (conf.Get<bool>("quit"))
    185             shell.Stop();
    186 
    187         shell.Run();                 // Run the shell
     184        if (!conf.Get<bool>("quit"))
     185            shell.Run();             // Run the shell
     186
    188187        io_service.Stop();           // Signal Loop-thread to stop
    189188        // io_service.Close();       // Obsolete, done by the destructor
Note: See TracChangeset for help on using the changeset viewer.