| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2119,6 +2119,12 @@ Py_FinalizeEx(void) | |||
| 2119 | 2119 | } | |
| 2120 | 2120 | #endif /* Py_TRACE_REFS */ | |
| 2121 | 2121 | ||
| 2122 | + #ifdef WITH_PYMALLOC | ||
| 2123 | + if (malloc_stats) { | ||
| 2124 | + _PyObject_DebugMallocStats(stderr); | ||
| 2125 | + } | ||
| 2126 | + #endif | ||
| 2127 | + | ||
| 2122 | 2128 | finalize_interp_delete(tstate->interp); | |
| 2123 | 2129 | ||
| 2124 | 2130 | #ifdef Py_REF_DEBUG | |
@@ -2129,12 +2135,6 @@ Py_FinalizeEx(void) | |||
| 2129 | 2135 | #endif | |
| 2130 | 2136 | _Py_FinalizeAllocatedBlocks(runtime); | |
| 2131 | 2137 | ||
| 2132 | - #ifdef WITH_PYMALLOC | ||
| 2133 | - if (malloc_stats) { | ||
| 2134 | - _PyObject_DebugMallocStats(stderr); | ||
| 2135 | - } | ||
| 2136 | - #endif | ||
| 2137 | - | ||
| 2138 | 2138 | call_ll_exitfuncs(runtime); | |
| 2139 | 2139 | ||
| 2140 | 2140 | _PyRuntime_Finalize(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments