Skip to content
Snippets Groups Projects
Commit 5af23251 authored by dkirov's avatar dkirov
Browse files

we can disconnect, before plugin

parent 6c03358b
No related branches found
No related tags found
No related merge requests found
......@@ -362,7 +362,8 @@ class P2PConnection(IdleObject, PlugIn):
pass
self.fd = -1
self.state = -1
self._owner.on_disconnect()
if self._owner:
self._owner.on_disconnect()
def _do_send(self):
if not self.sendbuff:
......
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