fix TB when we close pubsub window before we get the answer from the server. see #3103
This commit is contained in:
parent
2c4f2896af
commit
ebb5c511f3
|
@ -47,5 +47,5 @@ class ConnectionPubSub:
|
||||||
try:
|
try:
|
||||||
cb, args, kwargs = self.__callbacks.pop(stanza.getID())
|
cb, args, kwargs = self.__callbacks.pop(stanza.getID())
|
||||||
cb(conn, stanza, *args, **kwargs)
|
cb(conn, stanza, *args, **kwargs)
|
||||||
except KeyError:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue