mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 06:03:09 +00:00
ResourceLoader: Fixup resource changed feature (no. 2)
This commit is contained in:
parent
d5d6c730bf
commit
e3ddf3d44a
@ -860,7 +860,7 @@ Ref<Resource> ResourceLoader::_load_complete_inner(LoadToken &p_load_token, Erro
|
||||
}
|
||||
}
|
||||
core_bind::Semaphore done;
|
||||
MessageQueue::get_main_singleton()->push_callable(callable_mp(&done, &core_bind::Semaphore::post));
|
||||
MessageQueue::get_main_singleton()->push_callable(callable_mp(&done, &core_bind::Semaphore::post).bind(1));
|
||||
done.wait();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user