Skip to content
Snippets Groups Projects
Commit ced1285d authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

prevent traceback. Fixes #7054

parent 703cc865
No related branches found
No related tags found
No related merge requests found
......@@ -342,7 +342,7 @@ class NonBlockingRoster(PlugIn):
self._owner.Dispatcher.ProcessNonBlocking(data)
if not self._set:
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,
return
self._owner.onreceive(None)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment