Prevent DJUI menu from getting stuck when pressing B and start
This commit is contained in:
parent
db655c6746
commit
804bee1ff7
|
@ -151,6 +151,11 @@ void djui_panel_shutdown(void) {
|
||||||
panel = next;
|
panel = next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sPanelRemoving != NULL) {
|
||||||
|
djui_base_destroy(sPanelRemoving->base);
|
||||||
|
free(sPanelRemoving);
|
||||||
|
}
|
||||||
|
|
||||||
sPanelList = NULL;
|
sPanelList = NULL;
|
||||||
sPanelRemoving = NULL;
|
sPanelRemoving = NULL;
|
||||||
sMoveAmount = 0;
|
sMoveAmount = 0;
|
||||||
|
|
Loading…
Reference in New Issue