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 457391d commit 76fb37bCopy full SHA for 76fb37b
Python/pystate.c
@@ -482,8 +482,10 @@ _PyRuntimeState_Init(_PyRuntimeState *runtime)
482
void
483
_PyRuntimeState_Fini(_PyRuntimeState *runtime)
484
{
485
+#ifdef Py_REF_DEBUG
486
/* The reftotal is cleared by _Py_FinalizeRefTotal(). */
487
assert(runtime->object_state.reftotal == 0);
488
+#endif
489
490
if (gilstate_tss_initialized(runtime)) {
491
gilstate_tss_fini(runtime);
0 commit comments