1
0
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:
Luca Marchesano 2019-06-11 14:05:40 +02:00 committed by GitHub
parent 12eebc9011
commit c6a5ee4c45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");