Browse Source

Prevent GDExtensions from trying to remove editor plugins at shutdown

David Snopek 2 năm trước cách đây
mục cha
commit
62af007aa0
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      editor/editor_node.cpp

+ 3 - 0
editor/editor_node.cpp

@@ -8119,6 +8119,9 @@ EditorNode::~EditorNode() {
 	memdelete(progress_hb);
 
 	EditorSettings::destroy();
+
+	GDExtensionEditorPlugins::editor_node_add_plugin = nullptr;
+	GDExtensionEditorPlugins::editor_node_remove_plugin = nullptr;
 }
 
 /*