Do *not* emit processFinished() from start() method in case of error. It will be emitted from destructor in any case!
This commit is contained in:
parent
23ccdd21a0
commit
f474da1f9c
@ -160,11 +160,6 @@ bool ProcessThread::start(QThreadPool *const pool)
|
||||
break;
|
||||
}
|
||||
|
||||
if(!bSuccess)
|
||||
{
|
||||
emit processFinished();
|
||||
}
|
||||
|
||||
return bSuccess;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user