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);
memdelete(E.value);
}
addon_name_to_plugin.clear();
}
void EditorNode::_discard_changes(const String &p_str) {