mirror of
https://github.com/LX3JL/xlxd.git
synced 2025-12-06 07:42:01 +01:00
Fixed CPU load if not run as daemon
This commit is contained in:
parent
b8b1c2cf33
commit
91d6e69d74
|
|
@ -123,7 +123,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 a new issue