From: Nick Porter Date: Thu, 10 Apr 2025 17:00:37 +0000 (+0100) Subject: Py_EndInterpreter() unlocks the GIL X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74ee3c19acb17af53d813dde55fa3b7cd7300a94;p=thirdparty%2Ffreeradius-server.git Py_EndInterpreter() unlocks the GIL --- 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