1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Don't initialize editor when exiting

This commit is contained in:
kobewi
2025-01-18 17:51:31 +01:00
parent 7b1ed520bd
commit 5d868a66c0

View File

@@ -3409,6 +3409,7 @@ int EditorNode::_next_unsaved_scene(bool p_valid_filename, int p_start) {
void EditorNode::_exit_editor(int p_exit_code) { void EditorNode::_exit_editor(int p_exit_code) {
exiting = true; exiting = true;
waiting_for_first_scan = false;
resource_preview->stop(); // Stop early to avoid crashes. resource_preview->stop(); // Stop early to avoid crashes.
_save_editor_layout(); _save_editor_layout();