mirror of
https://github.com/python/cpython.git
synced 2025-10-21 06:02:21 +00:00
Backout 62658d9d8926 (issue #10241): it causes a crash at shutdown when deallocating a Tkapp object.
This commit is contained in:
parent
865d12a2d9
commit
95db2e7b8a
4 changed files with 0 additions and 33 deletions
|
@ -380,8 +380,6 @@ PyImport_Cleanup(void)
|
|||
builtins = interp->builtins;
|
||||
interp->builtins = PyDict_New();
|
||||
Py_DECREF(builtins);
|
||||
/* Clear module dict copies stored in the interpreter state */
|
||||
_PyState_ClearModules();
|
||||
/* Collect references */
|
||||
_PyGC_CollectNoFail();
|
||||
/* Dump GC stats before it's too late, since it uses the warnings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue