-
-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
bpo-36333: Fix leak in _PyRuntimeState_Fini #12400
bpo-36333: Fix leak in _PyRuntimeState_Fini #12400
Conversation
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.
LGTM, but I would prefer that @ericsnowcurrently review it since he added _PyRuntime.xidregistry (and its mutex).
Python 3.7 is not affected: it doesn't have _PyRuntime.xidregistry. |
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.
LGTM!
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.
LGTM
Thanks for working on this!
FWIW, |
@matrixise: Can you try to free _PyRuntime.ceval.pending.lock in _PyEval_FiniThreads()? |
@ericsnowcurrently I will check in an other PR. Thanks for the review |
Ok i will do it |
I merged this PR, thanks @matrixise. Oh, there are now too many leaks... I merged https://bugs.python.org/issue36356 PR and I wrote PR #12432 to free the pending lock, to have a better view of remaining leaks. |
https://bugs.python.org/issue36333