Kaydet (Commit) 95de5c16 authored tarafından Marc-André Lemburg's avatar Marc-André Lemburg

Move Unicode finalization further down in the chain.

Fixes bug #525620.
üst bc82ab1c
......@@ -219,11 +219,6 @@ Py_Finalize(void)
/* Disable signal handling */
PyOS_FiniInterrupts();
#ifdef Py_USING_UNICODE
/* Cleanup Unicode implementation */
_PyUnicode_Fini();
#endif
/* Cleanup Codec registry */
_PyCodecRegistry_Fini();
......@@ -268,6 +263,11 @@ Py_Finalize(void)
PyInt_Fini();
PyFloat_Fini();
#ifdef Py_USING_UNICODE
/* Cleanup Unicode implementation */
_PyUnicode_Fini();
#endif
/* XXX Still allocated:
- various static ad-hoc pointers to interned strings
- int and float free list blocks
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment