Issue #18203: Fix Py_Finalize(): destroy the GIL after the last call to
PyMem_Malloc() or PyObject_Malloc(). For example, PyCFunction_Fini() calls PyObject_GC_Del() which calls PyObject_FREE().
V
Victor Stinner committed
51fa458d0a8fa6e9f583fc5a1c4164080093e763
Parent: b385529