1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

clear addon_name_to_plugin ater unload_editor_addons because of memdelete

This commit is contained in:
Travis Lange
2024-10-08 14:06:45 -04:00
parent 842f982397
commit 96ab05e89f

View File

@@ -3378,6 +3378,8 @@ void EditorNode::unload_editor_addons() {
remove_editor_plugin(E.value, false); remove_editor_plugin(E.value, false);
memdelete(E.value); memdelete(E.value);
} }
addon_name_to_plugin.clear();
} }
void EditorNode::_discard_changes(const String &p_str) { void EditorNode::_discard_changes(const String &p_str) {