ResourceLoader: Fixup resource changed feature (no. 2)

This commit is contained in:
Pedro J. Estébanez 2024-09-12 11:37:07 +02:00
parent d5d6c730bf
commit e3ddf3d44a

View File

@ -860,7 +860,7 @@ Ref<Resource> ResourceLoader::_load_complete_inner(LoadToken &p_load_token, Erro
} }
} }
core_bind::Semaphore done; 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(); done.wait();
} }
} }