summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-02-14 11:30:04 -0500
committerLance Stout <lancestout@gmail.com>2011-02-14 11:30:04 -0500
commite0f9025e7c6fe51243222aeb684b94eda1a2be5f (patch)
treebf25ef8fac536d54d0b11b3992aba0498c7b225a /sleekxmpp
parent9004e8bbf2c29d23fad20467791d9a8224d4bdb3 (diff)
downloadslixmpp-e0f9025e7c6fe51243222aeb684b94eda1a2be5f.tar.gz
slixmpp-e0f9025e7c6fe51243222aeb684b94eda1a2be5f.tar.bz2
slixmpp-e0f9025e7c6fe51243222aeb684b94eda1a2be5f.tar.xz
slixmpp-e0f9025e7c6fe51243222aeb684b94eda1a2be5f.zip
More attempts at fixing garbage collection.
Don't keep a reference to stanzas in Callback objects.
Diffstat (limited to 'sleekxmpp')
-rw-r--r--sleekxmpp/xmlstream/handler/callback.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/sleekxmpp/xmlstream/handler/callback.py b/sleekxmpp/xmlstream/handler/callback.py
index f1fda805..7fadab43 100644
--- a/sleekxmpp/xmlstream/handler/callback.py
+++ b/sleekxmpp/xmlstream/handler/callback.py
@@ -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