There was an error while loading. Please reload this page.
1 parent fc07f86 commit 67af96cCopy full SHA for 67af96c
1 file changed
Include/refcount.h
@@ -416,6 +416,9 @@ static inline void _Py_DECREF_MORTAL_SPECIALIZED(const char *filename, int linen
416
_Py_DECREF_DecRefTotal();
417
}
418
if (--op->ob_refcnt == 0) {
419
+#ifdef Py_TRACE_REFS
420
+ _Py_ForgetReference(op);
421
+#endif
422
destruct(op);
423
424
@@ -460,6 +463,9 @@ static inline void Py_DECREF_MORTAL_SPECIALIZED(PyObject *op, destructor destruc
460
463
assert(!_Py_IsStaticImmortal(op));
461
464
_Py_DECREF_STAT_INC();
462
465
466
467
468
469
470
471
0 commit comments