Fixed high CPU usage of TS input during shutdown.
This commit is contained in:
parent
c25a533729
commit
62f3a9f4d2
1 changed files with 3 additions and 0 deletions
|
@ -431,6 +431,9 @@ namespace Mist {
|
||||||
lock.wait();
|
lock.wait();
|
||||||
threadCount = threadTimer.size();
|
threadCount = threadTimer.size();
|
||||||
lock.post();
|
lock.post();
|
||||||
|
if (threadCount){
|
||||||
|
Util::sleep(100);
|
||||||
|
}
|
||||||
} while (threadCount);
|
} while (threadCount);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue