Commit 3fdafd90 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Continue the shutdown whack-a-mole game

At least what I added here is what CPython does.
parent 5c1d544a
......@@ -4807,6 +4807,9 @@ extern "C" void Py_Finalize() noexcept {
call_sys_exitfunc();
// initialized = 0;
PyType_ClearCache();
PyGC_Collect();
PyImport_Cleanup();
#ifdef Py_REF_DEBUG
......
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