fix debug menu not removing task (#3088)
This commit is contained in:
parent
e21fcda54c
commit
1e2a613bd2
1 changed files with 1 additions and 0 deletions
|
@ -750,6 +750,7 @@ static void DebugAction_DestroyExtraWindow(u8 taskId)
|
|||
ClearStdWindowAndFrame(gTasks[taskId].data[2], TRUE);
|
||||
RemoveWindow(gTasks[taskId].data[2]);
|
||||
|
||||
DestroyListMenuTask(gTasks[taskId].data[0], NULL, NULL);
|
||||
DestroyTask(taskId);
|
||||
ScriptContext_Enable();
|
||||
UnfreezeObjectEvents();
|
||||
|
|
Loading…
Reference in a new issue