This commit is contained in:
jl777
2016-10-29 13:52:31 -03:00
parent 43a3c405d8
commit 10fa67233f

View File

@@ -42,7 +42,8 @@ void WaitForShutdown(boost::thread_group* threadGroup)
while (!fShutdown)
{
MilliSleep(2000);
komodo_gateway_iteration(ASSETCHAINS_SYMBOL);
if ( ASSETCHAINS_SYMBOL[0] != 0 )
komodo_gateway_iteration(ASSETCHAINS_SYMBOL);
fShutdown = ShutdownRequested();
}
if (threadGroup)