summaryrefslogtreecommitdiffstats
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-10-24 13:22:36 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-10-24 13:22:36 -0500
commitda01b2a46275f3affb888ed3d98786a5f50ada3c (patch)
tree78b6e667f8277c9db0bca4bcf3656161effea73b /editor/editor_node.cpp
parent8c52533aedafd15048b1d80cd6a0eea0f74aa424 (diff)
parent96ab05e89ff7d4f9f2865b04d3b7bf2b489b009f (diff)
downloadredot-engine-da01b2a46275f3affb888ed3d98786a5f50ada3c.tar.gz
Merge pull request #98063 from TCROC/fix-headless-import
Fix Headless --import --quit crashes editor
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index f328b9fc91..76e81623ce 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -3379,6 +3379,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) {