Skip to content

Commit cc65c1d

Browse files
committed
Merged revisions 72135 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72135 | benjamin.peterson | 2009-04-29 19:23:11 -0500 (Wed, 29 Apr 2009) | 1 line prevent ref cycles by removing bound method on close() ........
1 parent 6a52a9c commit cc65c1d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/aifc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,8 @@ def close(self):
690690
self._datalength != self._datawritten or \
691691
self._marklength:
692692
self._patchheader()
693+
# Prevent ref cycles
694+
self._convert = None
693695
self._file.flush()
694696
self._file = None
695697

0 commit comments

Comments
 (0)