mirror of
https://github.com/ShaYmez/xlxd.git
synced 2025-09-05 14:47:50 -04:00
Fixed CPU load if not run as daemon
This commit is contained in:
parent
12eebc9011
commit
c6a5ee4c45
@ -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();
|
||||||
g_Reflector.m_DebugFile.open("/Users/jeanluc/Desktop/dmrdebug.txt");
|
g_Reflector.m_DebugFile.open("/Users/jeanluc/Desktop/dmrdebug.txt");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user