-
-
Notifications
You must be signed in to change notification settings - Fork 603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change Ref<T> to allow non const access to ptr #1116
Conversation
Hi @saki7 I was just coming here to ask who is going to do the counterpart PR and you already finished it :) For sanity checking, I diffed the implementations of Ref<> from core and extension for your review of any other changes that may have crept int. These seem fine by me.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to match the upstream changes which were reviewed by GDExtension contributors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
akien already approved, but an extra approval can't hurt :-)
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I was able to test compiling godot and godot-cpp using this change. So I think it is fine to merge. |
Reminder: THIS IS NOT A BLOCKER and may be ignored I created a new In the call stack, I see it go true this function. |
Yep, this looks exactly like the regression from PR 1045 as detailed in issue #1119. I've seen it manifest like this (as an "access violation" or "segfault" on locking the mutex) or as infinitely hanging on locking the mutex. |
@dsnopek Could you press that big green button™? 😉 |
Thanks! |
This is the godot-cpp counterpart for godotengine/godot#64789
Fixes #693
(pinging @akien-mga since he requested this)