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

don't traceback when we get disconnected wile we parse stream features. Fixes #5574

parent c558a675
No related branches found
No related tags found
No related merge requests found
......@@ -362,6 +362,9 @@ class NonBlockingClient:
supported and desired.
"""
self.stream_started = True
if not hasattr(self, 'onreceive'):
# we may already have been disconnected
return
self.onreceive(None)
if self.connected == 'plain':
......
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