From b03237f24f818e0de5d7e1fa3e7caac1cc89896f Mon Sep 17 00:00:00 2001 From: Agent X <44549182+AgentXLP@users.noreply.github.com> Date: Mon, 1 Jul 2024 12:13:34 -0400 Subject: [PATCH] Revert "Small crash fix" This reverts commit 95738ccfd157ee2c290efda9d7ec7e91c8844c52. --- src/pc/djui/djui_panel_player.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pc/djui/djui_panel_player.c b/src/pc/djui/djui_panel_player.c index 889b8b4d..8ccc9dd0 100644 --- a/src/pc/djui/djui_panel_player.c +++ b/src/pc/djui/djui_panel_player.c @@ -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; }