Fixing exit-after-terminate when used with bare mode.

This commit is contained in:
Robin Sommer 2013-01-30 20:08:36 -08:00
parent 4f39470c1b
commit 8c807d19c3

View file

@ -1053,7 +1053,7 @@ int main(int argc, char** argv)
io_sources.Register(thread_mgr, true);
if ( io_sources.Size() > 0 || have_pending_timers )
if ( io_sources.Size() > 0 || have_pending_timers || BifConst::exit_only_after_terminate )
{
if ( profiling_logger )
profiling_logger->Log();