mirror of
https://github.com/ShaYmez/xlxd.git
synced 2025-09-03 13:47:52 -04:00
Fixed CPU load if not run as daemon
This commit is contained in:
parent
12eebc9011
commit
c6a5ee4c45
@ -122,7 +122,8 @@ int main(int argc, const char * argv[])
|
||||
// wait any key
|
||||
for (;;)
|
||||
{
|
||||
std::cin.get();
|
||||
// sleep 60 seconds
|
||||
CTimePoint::TaskSleepFor(60000);
|
||||
#ifdef DEBUG_DUMPFILE
|
||||
g_Reflector.m_DebugFile.close();
|
||||
g_Reflector.m_DebugFile.open("/Users/jeanluc/Desktop/dmrdebug.txt");
|
||||
|
Loading…
x
Reference in New Issue
Block a user