mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-22 08:11:22 -04:00
Fixed interface detachment on TCP initiator interfaces
This commit is contained in:
parent
de800f0ea7
commit
60917f0eea
3 changed files with 11 additions and 3 deletions
|
@ -275,7 +275,8 @@ class TCPClientInterface(Interface):
|
|||
self.parent_interface.clients -= 1
|
||||
|
||||
if self in RNS.Transport.interfaces:
|
||||
RNS.Transport.interfaces.remove(self)
|
||||
if not self.initiator:
|
||||
RNS.Transport.interfaces.remove(self)
|
||||
|
||||
|
||||
def __str__(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue