fix: prevent stack overflow in ConcurrentTask
Signed-off-by: Lenny McLennington <lenny@sneed.church>
This commit is contained in:
parent
cfe8f6ce9b
commit
4cccb693f2
@ -101,9 +101,8 @@ void ConcurrentTask::startNext()
|
||||
setStepStatus(next->isMultiStep() ? next->getStepStatus() : next->getStatus());
|
||||
updateState();
|
||||
|
||||
QCoreApplication::processEvents();
|
||||
|
||||
next->start();
|
||||
QMetaObject::invokeMethod(
|
||||
this, [=] { next->start(); }, Qt::QueuedConnection);
|
||||
}
|
||||
|
||||
void ConcurrentTask::subTaskSucceeded(Task::Ptr task)
|
||||
|
Loading…
Reference in New Issue
Block a user