Well, yeah

This commit is contained in:
Mark Qvist committed 2026-11-18 01:00:18 +01:00
1 parent 8c73e203b1
commit 4a058544a5
2 files changed
+2 -2

No files matched your search

+1 -1
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)
+1 -1
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()