]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Py_EndInterpreter() unlocks the GIL
authorNick Porter <nick@portercomputing.co.uk>
Thu, 10 Apr 2025 17:00:37 +0000 (18:00 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Thu, 10 Apr 2025 17:00:37 +0000 (18:00 +0100)
src/modules/rlm_python3/rlm_python3.c

index 4a628a6153faab133d2b7cebcd9be5499f11227a..872fb3b633c52eb703777c77288dafc617d0a3d2 100644 (file)
@@ -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