Join Debug Task on Suspend to avoid races (#2783)

This commit is contained in:
Florian Märkl 2021-09-25 17:17:49 +02:00 committed by GitHub
parent 357c43d606
commit 6dab092b51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2005,6 +2005,7 @@ void CutterCore::attachDebug(int pid)
void CutterCore::suspendDebug()
{
debugTask->breakTask();
debugTask->joinTask();
}
void CutterCore::stopDebug()