SIGN IN SIGN UP

gh-104341: Call _PyEval_ReleaseLock() with NULL When Finalizing the Current Thread (gh-105109)

This avoids the problematic race in drop_gil() by skipping the FORCE_SWITCHING code there for finalizing threads.

(The idea for this approach came out of discussions with @markshannon.)
E
Eric Snow committed
3698fda06eefb3c01e78c4c07f46fcdd0559e0f6
Parent: 8a8ebf2
Committed by GitHub <noreply@github.com> on 6/1/2023, 10:24:10 PM