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 26e5c6e commit 5a1205bCopy full SHA for 5a1205b
1 file changed
Python/pylifecycle.c
@@ -2119,6 +2119,12 @@ Py_FinalizeEx(void)
2119
}
2120
#endif /* Py_TRACE_REFS */
2121
2122
+#ifdef WITH_PYMALLOC
2123
+ if (malloc_stats) {
2124
+ _PyObject_DebugMallocStats(stderr);
2125
+ }
2126
+#endif
2127
+
2128
finalize_interp_delete(tstate->interp);
2129
2130
#ifdef Py_REF_DEBUG
@@ -2129,12 +2135,6 @@ Py_FinalizeEx(void)
2135
#endif
2136
_Py_FinalizeAllocatedBlocks(runtime);
2131
2137
2132
-#ifdef WITH_PYMALLOC
2133
- if (malloc_stats) {
2134
- _PyObject_DebugMallocStats(stderr);
- }
-#endif
-
2138
call_ll_exitfuncs(runtime);
2139
2140
_PyRuntime_Finalize();
0 commit comments