summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/stanzabase.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-02-13 16:30:57 -0500
committerLance Stout <lancestout@gmail.com>2011-02-13 16:30:57 -0500
commit34f6195ca5a042ac61aa20af0b339a6654e2ffdd (patch)
tree4e38c5b28177844070436086fdf74df7381cb66f /sleekxmpp/xmlstream/stanzabase.py
parent70af52d74c3f4253791120be4016f108aa966b4d (diff)
downloadslixmpp-34f6195ca5a042ac61aa20af0b339a6654e2ffdd.tar.gz
slixmpp-34f6195ca5a042ac61aa20af0b339a6654e2ffdd.tar.bz2
slixmpp-34f6195ca5a042ac61aa20af0b339a6654e2ffdd.tar.xz
slixmpp-34f6195ca5a042ac61aa20af0b339a6654e2ffdd.zip
Return the name of the registered callback.
Instead of the actual callback object, return just the name of the callback object created when using iq.send(callback=..). This will help prevent memory leaks by not keeping an additional reference to the object, but still allows for the callback to be canceled by using self.remove_handler("handler_name").
Diffstat (limited to 'sleekxmpp/xmlstream/stanzabase.py')
0 files changed, 0 insertions, 0 deletions