mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Join Debug Task on Suspend to avoid races (#2783)
This commit is contained in:
parent
357c43d606
commit
6dab092b51
@ -2005,6 +2005,7 @@ void CutterCore::attachDebug(int pid)
|
|||||||
void CutterCore::suspendDebug()
|
void CutterCore::suspendDebug()
|
||||||
{
|
{
|
||||||
debugTask->breakTask();
|
debugTask->breakTask();
|
||||||
|
debugTask->joinTask();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CutterCore::stopDebug()
|
void CutterCore::stopDebug()
|
||||||
|
Loading…
Reference in New Issue
Block a user