Fix a minor memory leak

Fixes a minor memory leak caused by a self-referential data structure
with a __del__() method by explicitly breaking the cycle.

Change-Id: Ic2c896d3067f8a2205abc8a43ec290fdbd92ef09
This commit is contained in:
Kevin L. Mitchell
2011-11-18 14:49:41 -06:00
parent 15937a4160
commit a594f4d344

View File

@@ -682,6 +682,8 @@ class MulticallWaiter(object):
def done(self):
self._done = True
self._iterator.close()
self._iterator = None
self._connection.close()
def __call__(self, data):