Skip to content

Commit

Permalink
ResourceLoader: Fixup resource changed feature (no. 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomShaper committed Sep 13, 2024
1 parent d5d6c73 commit e3ddf3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/io/resource_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit e3ddf3d

Please sign in to comment.