Merge pull request #98063 from TCROC/fix-headless-import

Fix Headless --import --quit crashes editor
This commit is contained in:
Thaddeus Crews 2024-10-24 13:22:36 -05:00
commit da01b2a462
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

@ -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) {