Disconnect EditorNode from file dialogs on destruction
This commit is contained in:
parent
6afd320984
commit
8c39a2d169
1 changed files with 11 additions and 0 deletions
|
|
@ -8076,6 +8076,17 @@ EditorNode::~EditorNode() {
|
|||
GDExtensionEditorPlugins::editor_node_add_plugin = nullptr;
|
||||
GDExtensionEditorPlugins::editor_node_remove_plugin = nullptr;
|
||||
|
||||
FileDialog::get_icon_func = nullptr;
|
||||
FileDialog::register_func = nullptr;
|
||||
FileDialog::unregister_func = nullptr;
|
||||
|
||||
EditorFileDialog::get_icon_func = nullptr;
|
||||
EditorFileDialog::register_func = nullptr;
|
||||
EditorFileDialog::unregister_func = nullptr;
|
||||
|
||||
file_dialogs.clear();
|
||||
editor_file_dialogs.clear();
|
||||
|
||||
singleton = nullptr;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue