فهرست منبع

Prevent GDExtensions from trying to remove editor plugins at shutdown

David Snopek 2 سال پیش
والد
کامیت
62af007aa0
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      editor/editor_node.cpp

+ 3 - 0
editor/editor_node.cpp

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