diff --git a/Lib/aifc.py b/Lib/aifc.py index 36312b3c2cb..702a451b128 100644 --- a/Lib/aifc.py +++ b/Lib/aifc.py @@ -690,6 +690,8 @@ class Aifc_write: self._datalength != self._datawritten or \ self._marklength: self._patchheader() + # Prevent ref cycles + self._convert = None self._file.flush() self._file = None