From e8d5133adb1e4d75d247df5233ac9f1e4f32da79 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Mon, 6 Jul 2026 19:44:01 -0700 Subject: [PATCH] Transcript Incremental Projection Nucleic-Session: 0FFD007B-0696-4517-9429-129C7B0FD5AC Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Models/HostConnection.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Models/HostConnection.swift b/NucleicRemote/NucleicRemote/Models/HostConnection.swift index 2771848..ef0f7e1 100644 --- a/NucleicRemote/NucleicRemote/Models/HostConnection.swift +++ b/NucleicRemote/NucleicRemote/Models/HostConnection.swift @@ -872,6 +872,9 @@ final class HostConnection { eventTask?.cancel(); eventTask = nil if let client { Task { await client.disconnect() } } client = nil + // A dropped connection loses the in-flight prefetch's remaining chunks — settle it empty + // so RemoteStore's queue isn't left waiting on a completion that will never arrive. + finishPrefetch(delivering: false) } }