Revert "Small crash fix"

This reverts commit 95738ccfd1.
This commit is contained in:
Agent X 2024-07-01 12:13:34 -04:00
parent 80d0c6209f
commit b03237f24f
1 changed files with 1 additions and 3 deletions

View File

@ -458,7 +458,5 @@ 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;
}
p->on_panel_destroy = djui_panel_player_destroy;
}