prevent traceback. Fixes #7054
This commit is contained in:
parent
703cc865f7
commit
ced1285de9
|
@ -342,7 +342,7 @@ class NonBlockingRoster(PlugIn):
|
||||||
self._owner.Dispatcher.ProcessNonBlocking(data)
|
self._owner.Dispatcher.ProcessNonBlocking(data)
|
||||||
if not self._set:
|
if not self._set:
|
||||||
return
|
return
|
||||||
if not self._owner:
|
if not hasattr(self, '_owner') or not self._owner:
|
||||||
# Connection has been closed by receiving a <stream:error> for ex,
|
# Connection has been closed by receiving a <stream:error> for ex,
|
||||||
return
|
return
|
||||||
self._owner.onreceive(None)
|
self._owner.onreceive(None)
|
||||||
|
|
Loading…
Reference in New Issue