mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
[3.13] gh-128679: Clear the ref tracer in _PyTraceMalloc_Stop() (#129258)
_PyTraceMalloc_Stop() now calls PyRefTracer_SetTracer(NULL, NULL).
This commit is contained in:
parent
eed7865cee
commit
1ee321b4c0
1 changed files with 2 additions and 0 deletions
|
@ -986,6 +986,8 @@ _PyTraceMalloc_Stop(void)
|
|||
raw_free(tracemalloc_traceback);
|
||||
tracemalloc_traceback = NULL;
|
||||
|
||||
(void)PyRefTracer_SetTracer(NULL, NULL);
|
||||
|
||||
done:
|
||||
TABLES_UNLOCK();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue