mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #101765 from KoBeWi/exit_if_exit
Don't initialize editor when exiting
This commit is contained in:
commit
932a442379
1 changed files with 1 additions and 0 deletions
|
|
@ -3572,6 +3572,7 @@ int EditorNode::_next_unsaved_scene(bool p_valid_filename, int p_start) {
|
|||
|
||||
void EditorNode::_exit_editor(int p_exit_code) {
|
||||
exiting = true;
|
||||
waiting_for_first_scan = false;
|
||||
resource_preview->stop(); // Stop early to avoid crashes.
|
||||
_save_editor_layout();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue