[Twisted-Python] Woven application, objects not collected.

Syver Enstad syver-en at online.no
Tue Nov 25 13:28:08 MST 2003


Jp Calderone <exarkun at intarweb.us> writes:

>   Presumably at some later point you will have a line like
> "self._deferred.callback(value)".  

No I just return the deferred to woven (with defer.succeed the
callback is already called). 

> Immediately after this (actually, before is preferable, how is left
> as an exercise for the reader), you should "self._deferred = None".
> The cycle will be broken and the garbage will be collectable.

I think I'll have to override Page.pageRenderComplete and set it to
None there.


-- 

Syver Enstad





More information about the Twisted-Python mailing list