Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
[3.13] gh-128679: Clear the ref trace in _PyTraceMalloc_Stop()#129258
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
_PyTraceMalloc_Stop() now calls PyRefTracer_SetTracer(NULL, NULL).
| raw_free(tracemalloc_traceback); | ||
| tracemalloc_traceback=NULL; | ||
| (void)PyRefTracer_SetTracer(NULL,NULL); |
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.
What happens if the user had installed their own reftracers? Will they get overwritten?
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.
They are overwritten, right.
vstinner commentedJan 24, 2025
1ee321b intopython:3.13Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
_PyTraceMalloc_Stop() now calls PyRefTracer_SetTracer(NULL, NULL).