diff options
author | Travis Lange <travislange12@gmail.com> | 2024-10-08 14:06:45 -0400 |
---|---|---|
committer | Travis Lange <travislange12@gmail.com> | 2024-10-08 14:06:45 -0400 |
commit | 96ab05e89ff7d4f9f2865b04d3b7bf2b489b009f (patch) | |
tree | 453cf273d9a2b053177a931501215543d8636c54 /editor/editor_node.cpp | |
parent | 842f98239713fd10cfd648cd6aa3781895f289eb (diff) | |
download | redot-engine-96ab05e89ff7d4f9f2865b04d3b7bf2b489b009f.tar.gz |
clear addon_name_to_plugin ater unload_editor_addons because of memdelete
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r-- | editor/editor_node.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index d88fb134f1..7b2e33376c 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -3378,6 +3378,8 @@ void EditorNode::unload_editor_addons() { remove_editor_plugin(E.value, false); memdelete(E.value); } + + addon_name_to_plugin.clear(); } void EditorNode::_discard_changes(const String &p_str) { |