diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 4f83b3e1cc4..59d0382369c 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -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();