Fixed high CPU usage of TS input during shutdown.

This commit is contained in:
Thulinma 2016-02-08 14:53:36 +01:00
parent c25a533729
commit 62f3a9f4d2

View file

@ -431,6 +431,9 @@ namespace Mist {
lock.wait();
threadCount = threadTimer.size();
lock.post();
if (threadCount){
Util::sleep(100);
}
} while (threadCount);
}
#endif