mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix wait for thread not started
This commit is contained in:
parent
240ed28291
commit
4aaa2e6477
16 changed files with 45 additions and 18 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue