mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-30 20:14:17 -04:00
Added table persist on local client disconnect
This commit is contained in:
parent
81e0989070
commit
921987c999
3 changed files with 7 additions and 1 deletions
|
@ -246,6 +246,7 @@ class LocalClientInterface(Interface):
|
|||
RNS.Transport.local_client_interfaces.remove(self)
|
||||
if hasattr(self, "parent_interface") and self.parent_interface != None:
|
||||
self.parent_interface.clients -= 1
|
||||
RNS.Transport.owner._should_persist_data()
|
||||
|
||||
if nowarning == False:
|
||||
RNS.log("The interface "+str(self)+" experienced an unrecoverable error and is being torn down. Restart Reticulum to attempt to open this interface again.", RNS.LOG_ERROR)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue