mirror of https://github.com/godotengine/godot
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;
|
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue