Skip to content

Commit 28118a0

Browse files
committed
update a comment
1 parent 2dae315 commit 28118a0

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
@@ -2020,7 +2020,7 @@ _Py_Finalize(_PyRuntimeState *runtime)
20202020
/* Ensure that remaining threads are detached */
20212021
_PyEval_StopTheWorldAll(runtime);
20222022

2023-
/* Remaining daemon threads will automatically exit
2023+
/* Remaining daemon threads will be trapped in PyThread_hang_thread
20242024
when they attempt to take the GIL (ex: PyEval_RestoreThread()). */
20252025
_PyInterpreterState_SetFinalizing(tstate->interp, tstate);
20262026
_PyRuntimeState_SetFinalizing(runtime, tstate);

0 commit comments

Comments
 (0)