don't remove keepalive and xmpp ping timeouts when we get an expected stanza.

This commit is contained in:
Yann Leboulanger 2010-02-25 22:56:38 +01:00
parent dd2ee07826
commit ef05eb75d9

View file

@ -469,10 +469,6 @@ class XMPPDispatcher(PlugIn):
# we have released dispatcher, so self._owner has no methods
if not res:
return
if 'remove_timeout' in self._owner.__dict__:
# When we receive data after we started disconnecting, Transport may
# already be plugged out
self._owner.remove_timeout()
for (_id, _iq) in self._expected.items():
if _iq is None:
# If the expected Stanza would have arrived, ProcessNonBlocking