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 97c2e6a commit 00b13ecCopy full SHA for 00b13ec
Python/ceval.c
@@ -95,6 +95,11 @@
95
} \
96
_Py_DECREF_STAT_INC(); \
97
if (--op->ob_refcnt == 0) { \
98
+ struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
99
+ if (tracer->tracer_func != NULL) { \
100
+ void* data = tracer->tracer_data; \
101
+ tracer->tracer_func(op, PyRefTracer_DESTROY, data); \
102
+ } \
103
destructor d = (destructor)(dealloc); \
104
d(op); \
105
0 commit comments