[Buildbot-commits] buildbot/buildbot/status html.py,1.50,1.51
Brian Warner
warner at users.sourceforge.net
Sun Apr 17 10:50:03 UTC 2005
Update of /cvsroot/buildbot/buildbot/buildbot/status
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1926/buildbot/status
Modified Files:
html.py
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-38
Creator: Brian Warner <warner at monolith.lothar.com>
fix memory leak involving buildbot.status.html.TextLog
Index: html.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/html.py,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- html.py 1 Feb 2005 08:36:45 -0000 1.50
+++ html.py 17 Apr 2005 10:50:00 -0000 1.51
@@ -610,6 +610,9 @@
self.req.finish()
except pb.DeadReferenceError:
pass
+ # break the cycle, the Request's .notifications list includes the
+ # Deferred (from req.notifyFinish) that's pointing at us.
+ self.req = None
components.registerAdapter(TextLog, interfaces.IStatusLog, IHTMLLog)
More information about the Commits
mailing list