Small crash fix

This commit is contained in:
Agent X 2024-07-01 10:44:07 -04:00
parent b487527339
commit 95738ccfd1
1 changed files with 3 additions and 1 deletions

View File

@ -458,5 +458,7 @@ void djui_panel_player_create(struct DjuiBase* caller) {
}
struct DjuiPanel* p = djui_panel_add(caller, panel, NULL);
if (p != NULL) {
p->on_panel_destroy = djui_panel_player_destroy;
}
}