diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2023-12-01 13:20:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 13:20:51 +0000 |
commit | a73aa48e6bec900be7edd3431deaa5fc1d809e6f (patch) | |
tree | 52409eeb740cb5da1f85aad195753a279b7bd980 /Python/pylifecycle.c | |
parent | bfb576ee23c133bec0ce7c26a8ecea76926b9d8e (diff) | |
download | cpython-a73aa48e6bec900be7edd3431deaa5fc1d809e6f.tar.gz cpython-a73aa48e6bec900be7edd3431deaa5fc1d809e6f.zip |
gh-112367: Only free perf trampoline arenas at shutdown (#112368)
Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index ac8d5208322..aff67d7a835 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -1797,6 +1797,7 @@ finalize_interp_clear(PyThreadState *tstate) _PyArg_Fini(); _Py_ClearFileSystemEncoding(); _PyPerfTrampoline_Fini(); + _PyPerfTrampoline_FreeArenas(); } finalize_interp_types(tstate->interp); @@ -1854,7 +1855,6 @@ Py_FinalizeEx(void) */ _PyAtExit_Call(tstate->interp); - PyUnstable_PerfMapState_Fini(); /* Copy the core config, PyInterpreterState_Delete() free the core config memory */ |