You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix wait for thread not started
This commit is contained in:
@@ -1256,7 +1256,9 @@ void EditorFileSystem::_notification(int p_what) {
|
||||
if (scanning_changes_done) {
|
||||
set_process(false);
|
||||
|
||||
thread_sources.wait_to_finish();
|
||||
if (thread_sources.is_started()) {
|
||||
thread_sources.wait_to_finish();
|
||||
}
|
||||
bool changed = _update_scan_actions();
|
||||
_update_pending_script_classes();
|
||||
if (changed) {
|
||||
|
||||
Reference in New Issue
Block a user