wingo - in flumotion/branches/platform-3: . flumotion/worker

flumotion-commit at lists.fluendo.com flumotion-commit at lists.fluendo.com
Tue Jul 24 13:23:33 CEST 2007


Author: wingo
Date: Tue Jul 24 13:23:29 2007
New Revision: 5349

Modified:
   flumotion/branches/platform-3/ChangeLog
   flumotion/branches/platform-3/flumotion/worker/feed.py
Log:
2007-07-24  Andy Wingo  <wingo at pobox.com>

	* flumotion/worker/feed.py (FeedMedium._doFeedTo): Backport of
	[5347], fixes leaks when components reconnect.



Modified: flumotion/branches/platform-3/ChangeLog
==============================================================================
--- flumotion/branches/platform-3/ChangeLog	(original)
+++ flumotion/branches/platform-3/ChangeLog	Tue Jul 24 13:23:29 2007
@@ -1,3 +1,8 @@
+2007-07-24  Andy Wingo  <wingo at pobox.com>
+
+	* flumotion/worker/feed.py (FeedMedium._doFeedTo): Backport of
+	[5347], fixes leaks when components reconnect.
+
 2007-07-23  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
 
 	* flumotion/component/producers/playlist/playlist.py

Modified: flumotion/branches/platform-3/flumotion/worker/feed.py
==============================================================================
--- flumotion/branches/platform-3/flumotion/worker/feed.py	(original)
+++ flumotion/branches/platform-3/flumotion/worker/feed.py	Tue Jul 24 13:23:29 2007
@@ -289,6 +289,11 @@
         # collected, and closed
         self._transports[fullFeedId] = t
         self.remote.broker.transport = None
+
+        # We are done with the reference, drop our reference to it so as
+        # to prevent cycles
+        self.setRemoteReference(None)
+
         # pass the fd to the component to eat from
         fd = t.fileno()
         self.debug('telling component to eat from fd %d' % fd)


More information about the flumotion-commit mailing list