This commit is contained in:
jl777
2016-11-06 21:13:41 -03:00
parent e5e414c279
commit 3f083c258d
2 changed files with 10 additions and 2 deletions

View File

@@ -34,6 +34,7 @@
static bool fDaemon;
extern char ASSETCHAINS_SYMBOL[16];
void komodo_gateway_iteration(char *symbol);
void komodo_iteration(char *symbol);
void WaitForShutdown(boost::thread_group* threadGroup)
{
@@ -44,6 +45,8 @@ void WaitForShutdown(boost::thread_group* threadGroup)
MilliSleep(2000);
if ( ASSETCHAINS_SYMBOL[0] != 0 )
komodo_gateway_iteration(ASSETCHAINS_SYMBOL);
else komodo_iteration("EUR");
fShutdown = ShutdownRequested();
}
if (threadGroup)