We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ffab08 commit cb0f028Copy full SHA for cb0f028
1 file changed
Python/pylifecycle.c
@@ -3827,8 +3827,8 @@ handle_thread_shutdown_exception(PyThreadState *tstate)
3827
assert(tstate != NULL);
3828
assert(_PyErr_Occurred(tstate));
3829
PyInterpreterState *interp = tstate->interp;
3830
- assert(interp->threads.head != NULL);
3831
_PyEval_StopTheWorld(interp);
+ assert(interp->threads.head != NULL);
3832
3833
// We don't have to worry about locking this because the
3834
// world is stopped.
0 commit comments