You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Macros "_THREAD_SAFE_XXX" in " include/godot_cpp/core/mutex_lock.hpp" are not work correctly in godot-cpp. #2020
It seems that "include/godot_cpp/core/mutex_lock.hpp" is simply migrated from godot source, we should do some change by using std::mutex or godot::Ref<godot::Mutex>, or consider the possibility of using some godot object without memnew().
Steps to reproduce
Just use _THREAD_SAFE_CLASS_ in any class and try to instantiate it.
Activity
dsnopek commentedon Jul 25, 2026
Thanks! I just posted PR #2026 which fixes this issue in my testing