mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
parent
b45f351832
commit
6b4953fd3d
5 changed files with 28 additions and 2 deletions
|
@ -60,6 +60,7 @@ static void call_sys_exitfunc(void);
|
|||
static void call_ll_exitfuncs(void);
|
||||
extern void _PyUnicode_Init(void);
|
||||
extern void _PyUnicode_Fini(void);
|
||||
extern void _PyEval_FiniThreads(void);
|
||||
|
||||
#ifdef WITH_THREAD
|
||||
extern void _PyGILState_Init(PyInterpreterState *, PyThreadState *);
|
||||
|
@ -461,6 +462,8 @@ Py_Finalize(void)
|
|||
_PyUnicode_Fini();
|
||||
#endif
|
||||
|
||||
_PyEval_FiniThreads();
|
||||
|
||||
/* XXX Still allocated:
|
||||
- various static ad-hoc pointers to interned strings
|
||||
- int and float free list blocks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue