#40 Fix crash on Linux.
This commit is contained in:
parent
ebf54c6d04
commit
8f38462bbe
8 changed files with 21 additions and 8 deletions
|
@ -38,7 +38,7 @@ SingleWorker::SingleWorker(Handle *handle)
|
|||
|
||||
void SingleWorker::start()
|
||||
{
|
||||
while (true) {
|
||||
while (Workers::sequence() > 0) {
|
||||
if (Workers::isPaused()) {
|
||||
do {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(200));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue