#40 Fix crash on Linux.
This commit is contained in:
parent
ebf54c6d04
commit
8f38462bbe
8 changed files with 21 additions and 8 deletions
|
@ -62,7 +62,7 @@ DoubleWorker::~DoubleWorker()
|
|||
|
||||
void DoubleWorker::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