mirror of
https://github.com/python/cpython.git
synced 2025-09-04 07:51:13 +00:00
bpo-33608: Minor cleanup related to pending calls. (gh-12247)
This commit is contained in:
parent
7bda9de550
commit
5be45a6105
5 changed files with 81 additions and 68 deletions
|
@ -1460,6 +1460,7 @@ Py_EndInterpreter(PyThreadState *tstate)
|
|||
Py_FatalError("Py_EndInterpreter: thread is not current");
|
||||
if (tstate->frame != NULL)
|
||||
Py_FatalError("Py_EndInterpreter: thread still has a frame");
|
||||
interp->finalizing = 1;
|
||||
|
||||
wait_for_thread_shutdown();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue