Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 257cf2f

Browse files
committed
In _PyGC_Fini(), lose the reference that was kept to the time module
1 parent 0e0ccf7 commit 257cf2f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Modules/gcmodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1661,6 +1661,7 @@ void
16611661
_PyGC_Fini(void)
16621662
{
16631663
Py_CLEAR(callbacks);
1664+
Py_CLEAR(tmod);
16641665
}
16651666

16661667
/* for debugging */

0 commit comments

Comments
 (0)