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:
commit
e18010f66c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user