Prevent DJUI menu from getting stuck when pressing B and start

This commit is contained in:
MysterD 2022-02-21 00:08:20 -08:00
parent db655c6746
commit 804bee1ff7

View file

@ -151,6 +151,11 @@ void djui_panel_shutdown(void) {
panel = next;
}
if (sPanelRemoving != NULL) {
djui_base_destroy(sPanelRemoving->base);
free(sPanelRemoving);
}
sPanelList = NULL;
sPanelRemoving = NULL;
sMoveAmount = 0;