Fixed logging error messages when a local client connects while instance is starting up

This commit is contained in:
Mark Qvist 2023-11-06 11:06:14 +01:00
parent fc0cf17c4d
commit b584832b8f

View File

@ -272,6 +272,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
if hasattr(RNS.Transport, "owner") and RNS.Transport.owner != None:
RNS.Transport.owner._should_persist_data()
if nowarning == False: