diff --git a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift index 3578223..a3618bf 100644 --- a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift +++ b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift @@ -983,6 +983,8 @@ final class RemoteStore: ObservableObject { connection(owningSession: target)?.openSessionID = nil openSessionID = nil openSessionHostID = nil + // Persist the final transcript before clearing it, so it's warm for the next open / offline. + flushOpenTranscript(target, openEvents) openEvents = [] openApprovals = [] openDiff = nil