diff options
author | Mark Shannon <mark@hotpy.org> | 2024-04-17 10:08:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-17 10:08:05 (GMT) |
commit | 147cd0581e35a10204776029aeaa7fa1901056bc (patch) | |
tree | 224715ae49724e26786a6b7a18e2e5c3e4d2deb4 /Python | |
parent | c917b3e8e113a3e1ffe118e581fac29eaf365191 (diff) | |
download | cpython-147cd0581e35a10204776029aeaa7fa1901056bc.zip cpython-147cd0581e35a10204776029aeaa7fa1901056bc.tar.gz cpython-147cd0581e35a10204776029aeaa7fa1901056bc.tar.bz2 |
GH-117760: Streamline the trashcan mechanism (GH-117763)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pystate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index ac38866..37480df 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -1485,6 +1485,8 @@ init_threadstate(_PyThreadStateImpl *_tstate, tstate->what_event = -1; tstate->previous_executor = NULL; + tstate->delete_later = NULL; + llist_init(&_tstate->mem_free_queue); if (interp->stoptheworld.requested || _PyRuntime.stoptheworld.requested) { |