We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78ceae3 commit 609f7fbCopy full SHA for 609f7fb
Python/tracemalloc.c
@@ -891,8 +891,8 @@ _PyTraceMalloc_Stop(void)
891
TABLES_UNLOCK();
892
893
// Call it after TABLES_UNLOCK() since it calls _PyEval_StopTheWorldAll()
894
- // which would lead to a deadlock with TABLES_LOCK() which doesn't release
895
- // the GIL.
+ // which would lead to a deadlock with TABLES_LOCK() which doesn't detaches
+ // the thread state.
896
(void)PyRefTracer_SetTracer(NULL, NULL);
897
}
898
0 commit comments