mirror of
https://github.com/LX3JL/xlxd.git
synced 2025-12-06 07:42:01 +01: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
|
// wait any key
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
std::cin.get();
|
// sleep 60 seconds
|
||||||
|
CTimePoint::TaskSleepFor(60000);
|
||||||
#ifdef DEBUG_DUMPFILE
|
#ifdef DEBUG_DUMPFILE
|
||||||
g_Reflector.m_DebugFile.close();
|
g_Reflector.m_DebugFile.close();
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue