Skip to content

Commit 76e4ec9

Browse files
committed
Use new is_after_fork parameter
1 parent a759540 commit 76e4ec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/pylifecycle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2450,7 +2450,7 @@ Py_EndInterpreter(PyThreadState *tstate)
24502450
when they attempt to take the GIL (ex: PyEval_RestoreThread()). */
24512451
_PyInterpreterState_SetFinalizing(interp, tstate);
24522452
_PyEval_StartTheWorldAll(runtime);
2453-
_PyThreadState_DeleteList(list);
2453+
_PyThreadState_DeleteList(list, /*is_after_fork=*/0);
24542454

24552455
// XXX Call something like _PyImport_Disable() here?
24562456

0 commit comments

Comments
 (0)