mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-38644: Pass tstate to _Py_FinishPendingCalls() (GH-17990)
_Py_FinishPendingCalls() now expects a tstate argument, instead of a runtime argument.
This commit is contained in:
parent
3430c55417
commit
2b1df4592e
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue