1
0
mirror of https://github.com/ShaYmez/xlxd.git synced 2024-12-23 01:55:49 -05:00

Merge pull request #126 from lucamarche-iz1mlt/patch-1

Fixed CPU load if not run as daemon
This commit is contained in:
LX3JL 2020-04-06 12:42:45 +02:00 committed by GitHub
commit e18010f66c
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();
#endif