From e046ce92b21e65e1c5d611c588f0ebc1941695e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Thu, 12 Sep 2024 11:37:07 +0200 Subject: [PATCH] ResourceLoader: Fixup resource changed feature (no. 2) (cherry picked from commit 6b3e009c07a61819eb5fae0c3f422cbb32e94795) --- core/io/resource_loader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp index aeb492eec0fa..771d78c0de90 100644 --- a/core/io/resource_loader.cpp +++ b/core/io/resource_loader.cpp @@ -862,7 +862,7 @@ Ref 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(); } }