Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fecc4f2 commit f5f336aCopy full SHA for f5f336a
2 files changed
Include/internal/pycore_pystate.h
@@ -184,6 +184,8 @@ PyAPI_FUNC(void) _PyRuntimeState_ReInitThreads(void);
184
Return NULL on success, or return an error message on failure. */
185
PyAPI_FUNC(_PyInitError) _PyRuntime_Initialize(void);
186
187
+PyAPI_FUNC(void) _PyRuntime_Finalize(void);
188
+
189
#define _Py_CURRENTLY_FINALIZING(tstate) \
190
(_PyRuntime.finalizing == tstate)
191
Modules/main.c
@@ -839,6 +839,7 @@ pymain_free(void)
839
_PyPathConfig_ClearGlobal();
840
_Py_ClearStandardStreamEncoding();
841
_Py_ClearArgcArgv();
842
+ _PyRuntime_Finalize();
843
}
844
845
0 commit comments