Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 4, 2024

We need to write to ob_ref_local and ob_tid before ob_ref_shared.
Once we mark ob_ref_shared as merged, some other thread may free the
object because the caller also passes in -1 as extra to give up its
only reference.
(cherry picked from commit 4055577)

Co-authored-by: Sam Gross colesbury@gmail.com

…fcount` (pythonGH-120000)

We need to write to `ob_ref_local` and `ob_tid` before `ob_ref_shared`.
Once we mark `ob_ref_shared` as merged, some other thread may free the
object because the caller also passes in `-1` as `extra` to give up its
only reference.
(cherry picked from commit 4055577)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants