fix traceback when we get a <stream:error> from server.
This commit is contained in:
parent
77a6a02dc3
commit
eb6f09e51c
|
@ -342,6 +342,9 @@ class NonBlockingRoster(PlugIn):
|
|||
self._owner.Dispatcher.ProcessNonBlocking(data)
|
||||
if not self.set:
|
||||
return
|
||||
if not self._owner:
|
||||
# Connection has been closed by receiving a <stream:error> for ex,
|
||||
return
|
||||
self._owner.onreceive(None)
|
||||
if self.on_ready:
|
||||
self.on_ready(self)
|
||||
|
|
Loading…
Reference in New Issue