diff options
author | Donghee Na <donghee.na@python.org> | 2024-01-19 03:15:00 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-18 18:15:00 +0000 |
commit | 7fa511ba576b9a760f3971ad16dbbbbf91c3f39c (patch) | |
tree | d3e5fa9dd914d10f6f018bc728664635419ecb32 /Python/pylifecycle.c | |
parent | 2d3f6b56c5846df60b0b305e51a1d293ba0b2aae (diff) | |
download | cpython-7fa511ba576b9a760f3971ad16dbbbbf91c3f39c.tar.gz cpython-7fa511ba576b9a760f3971ad16dbbbbf91c3f39c.zip |
gh-111968: Use per-thread freelists for generator in free-threading (gh-114189)
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 598cd68806e..0d5eec06e9b 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -1735,7 +1735,6 @@ finalize_interp_types(PyInterpreterState *interp) _PySys_FiniTypes(interp); _PyXI_FiniTypes(interp); _PyExc_Fini(interp); - _PyAsyncGen_Fini(interp); _PyFloat_FiniType(interp); _PyLong_FiniTypes(interp); _PyThread_FiniType(interp); @@ -1759,6 +1758,7 @@ finalize_interp_types(PyInterpreterState *interp) _PyFloat_Fini(state); _PySlice_Fini(state); _PyContext_Fini(state); + _PyAsyncGen_Fini(state); #ifdef Py_DEBUG _PyStaticObjects_CheckRefcnt(interp); |