summaryrefslogtreecommitdiffstats
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-01-13 17:46:59 (GMT)
committerGitHub <noreply@github.com>2020-01-13 17:46:59 (GMT)
commit2b1df4592e1691017414337514c6e378eb639498 (patch)
tree3db8c91a4964ac46aad3686c80f0cdbc8493b30c /Python/pylifecycle.c
parent3430c55417f59078ac397c343894a3ee82a39624 (diff)
downloadcpython-2b1df4592e1691017414337514c6e378eb639498.zip
cpython-2b1df4592e1691017414337514c6e378eb639498.tar.gz
cpython-2b1df4592e1691017414337514c6e378eb639498.tar.bz2
bpo-38644: Pass tstate to _Py_FinishPendingCalls() (GH-17990)
_Py_FinishPendingCalls() now expects a tstate argument, instead of a runtime argument.
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r--Python/pylifecycle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index 1d9dff4..d5d60d0 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -1340,7 +1340,7 @@ Py_FinalizeEx(void)
wait_for_thread_shutdown(tstate);
// Make any remaining pending calls.
- _Py_FinishPendingCalls(runtime);
+ _Py_FinishPendingCalls(tstate);
/* The interpreter is still entirely intact at this point, and the
* exit funcs may be relying on that. In particular, if some thread