we can disconnect, before plugin
This commit is contained in:
parent
6c03358b27
commit
5af232513b
1 changed files with 2 additions and 1 deletions
|
@ -362,7 +362,8 @@ class P2PConnection(IdleObject, PlugIn):
|
||||||
pass
|
pass
|
||||||
self.fd = -1
|
self.fd = -1
|
||||||
self.state = -1
|
self.state = -1
|
||||||
self._owner.on_disconnect()
|
if self._owner:
|
||||||
|
self._owner.on_disconnect()
|
||||||
|
|
||||||
def _do_send(self):
|
def _do_send(self):
|
||||||
if not self.sendbuff:
|
if not self.sendbuff:
|
||||||
|
|
Loading…
Add table
Reference in a new issue