From 74ee3c19acb17af53d813dde55fa3b7cd7300a94 Mon Sep 17 00:00:00 2001 From: Nick Porter Date: Thu, 10 Apr 2025 18:00:37 +0100 Subject: [PATCH] Py_EndInterpreter() unlocks the GIL --- src/modules/rlm_python3/rlm_python3.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/rlm_python3/rlm_python3.c b/src/modules/rlm_python3/rlm_python3.c index 4a628a6153..872fb3b633 100644 --- a/src/modules/rlm_python3/rlm_python3.c +++ b/src/modules/rlm_python3/rlm_python3.c @@ -701,7 +701,6 @@ static void python_interpreter_free(PyThreadState *interp) PyEval_RestoreThread(interp); PyThreadState_Swap(interp); Py_EndInterpreter(interp); - PyEval_SaveThread(); } /** Destroy a thread state -- 2.47.2