Well, yeah

This commit is contained in:
Mark Qvist 2026-11-18 01:00:18 +01:00
parent 8c73e203b1
commit 4a058544a5
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -951,7 +951,7 @@ class Identity:
@staticmethod
def persist_data(background=False):
if not RNS.Transport.owner.is_connected_to_shared_instance:
if hasattr(RNS.Transport, "owner") and not RNS.Transport.owner.is_connected_to_shared_instance:
if Identity.known_destinations_store != None: Identity.flush_known_destinations()
else: Identity.save_known_destinations_legacy(background=background)

View file

@ -4942,7 +4942,7 @@ class Transport:
if not os.getpid() == RNS.Reticulum.get_instance_pid(): return
Transport._should_run = False
Transport.void_queues()
if not Transport.owner.is_connected_to_shared_instance:
if hasattr(Transport, "owner") and not Transport.owner.is_connected_to_shared_instance:
Transport.persist_data()
if Transport.announce_cache != None: Transport.announce_cache.flush()