Thanks to visit codestin.com Credit goes to github.com
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 5989eb7 commit 3d1df3dCopy full SHA for 3d1df3d
1 file changed
Python/ceval.c
@@ -99,6 +99,11 @@
99
} \
100
_Py_DECREF_STAT_INC(); \
101
if (--op->ob_refcnt == 0) { \
102
+ struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
103
+ if (tracer->tracer_func != NULL) { \
104
+ void* data = tracer->tracer_data; \
105
+ tracer->tracer_func(op, PyRefTracer_DESTROY, data); \
106
+ } \
107
destructor d = (destructor)(dealloc); \
108
d(op); \
109
0 commit comments