More attempts at fixing garbage collection.
Don't keep a reference to stanzas in Callback objects.
This commit is contained in:
parent
9004e8bbf2
commit
e0f9025e7c
1 changed files with 0 additions and 2 deletions
|
@ -61,7 +61,6 @@ class Callback(BaseHandler):
|
|||
Arguments:
|
||||
payload -- The matched stanza object.
|
||||
"""
|
||||
BaseHandler.prerun(self, payload)
|
||||
if self._once:
|
||||
self._destroy = True
|
||||
if self._instream:
|
||||
|
@ -80,7 +79,6 @@ class Callback(BaseHandler):
|
|||
Defaults to False.
|
||||
"""
|
||||
if not self._instream or instream:
|
||||
BaseHandler.run(self, payload)
|
||||
self._pointer(payload)
|
||||
if self._once:
|
||||
self._destroy = True
|
||||
|
|
Loading…
Reference in a new issue