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 2dae315 commit 28118a0Copy full SHA for 28118a0
Python/pylifecycle.c
@@ -2020,7 +2020,7 @@ _Py_Finalize(_PyRuntimeState *runtime)
2020
/* Ensure that remaining threads are detached */
2021
_PyEval_StopTheWorldAll(runtime);
2022
2023
- /* Remaining daemon threads will automatically exit
+ /* Remaining daemon threads will be trapped in PyThread_hang_thread
2024
when they attempt to take the GIL (ex: PyEval_RestoreThread()). */
2025
_PyInterpreterState_SetFinalizing(tstate->interp, tstate);
2026
_PyRuntimeState_SetFinalizing(runtime, tstate);
0 commit comments