From 8980211c08c4b9693558a69f90a16be3c3e68969 Mon Sep 17 00:00:00 2001 From: Yuri Rubinsky Date: Sat, 30 Sep 2023 09:34:35 +0300 Subject: [PATCH] Fix crash when deleting the player in `AnimationPlayerEditorPlugin` --- editor/plugins/animation_player_editor_plugin.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp index f2225fabadf2..7b48e6fbe926 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -2203,9 +2203,6 @@ AnimationPlayerEditorPlugin::~AnimationPlayerEditorPlugin() { if (dummy_player) { memdelete(dummy_player); } - if (player) { - memdelete(player); - } } // AnimationTrackKeyEditEditorPlugin