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

View File

@@ -32,6 +32,8 @@
*/ */
static bool fDaemon; static bool fDaemon;
extern char ASSETCHAINS_SYMBOL[16];
void komodo_gateway_iteration(char *symbol);
void WaitForShutdown(boost::thread_group* threadGroup) void WaitForShutdown(boost::thread_group* threadGroup)
{ {
@@ -39,7 +41,8 @@ void WaitForShutdown(boost::thread_group* threadGroup)
// Tell the main threads to shutdown. // Tell the main threads to shutdown.
while (!fShutdown) while (!fShutdown)
{ {
MilliSleep(200); MilliSleep(2000);
komodo_gateway_iteration(ASSETCHAINS_SYMBOL);
fShutdown = ShutdownRequested(); fShutdown = ShutdownRequested();
} }
if (threadGroup) if (threadGroup)