1
0
Fork 0

DBG: fixed issue #1052 (deadlock on aborting script)

This commit is contained in:
mrexodia 2016-09-07 06:47:53 +02:00
parent afb646140f
commit 64a10f48b5
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ static CMDRESULT scriptinternalcmdexec(const char* cmd)
else if(scriptisinternalcommand(cmd, "nop")) //do nothing
return STATUS_CONTINUE;
CMDRESULT res = cmddirectexec(cmd);
while(DbgIsDebugging() && dbgisrunning()) //while not locked (NOTE: possible deadlock)
while(DbgIsDebugging() && dbgisrunning() && !bAbort) //while not locked (NOTE: possible deadlock)
Sleep(1);
return res;
}