Don't arm the deadlock detector in standalone mode.

This commit is contained in:
JoelKatz
2013-06-16 15:30:16 -07:00
parent 7347ad1693
commit 1407aedbf3

View File

@@ -604,7 +604,9 @@ void Application::run ()
boost::thread (boost::bind (runIO, boost::ref (mIOService))).detach ();
}
theApp->getLoadManager ().arm ();
if (!theConfig.RUN_STANDALONE)
theApp->getLoadManager ().arm ();
mIOService.run (); // This blocks
if (mWSPublicDoor)