SIGN IN SIGN UP

gh-92036: Fix gc_fini_untrack() (#92037)

Fix a crash in subinterpreters related to the garbage collector. When
a subinterpreter is deleted, untrack all objects tracked by its GC.
To prevent a crash in deallocator functions expecting objects to be
tracked by the GC, leak a strong reference to these objects on
purpose, so they are never deleted and their deallocator functions
are not called.
V
Victor Stinner committed
14243369b5f80613628a565c224bba7fb3fcacd8
Parent: d20bb33
Committed by GitHub <noreply@github.com> on 5/4/2022, 9:59:01 AM