Skip to content

Commit

Permalink
Correct some logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ElvisBlue committed Mar 13, 2023
1 parent d39d8c7 commit 7e98267
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x64dbgpython/x64dbgpython/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ void PluginHandleMenuCommand(CBTYPE cbType, PLUG_CB_MENUENTRY* info)
}
case menu_entry::MENU_STOP_SCRIPT:
{
g_Interupt = true;
if ((g_IsScriptRunning) && (!g_Interupt))
g_Interupt = true;

break;
}
case menu_entry::MENU_ABOUT:
Expand Down

0 comments on commit 7e98267

Please sign in to comment.