From 3b469e8bb8333932c2ffd7a477677ca1cdf10e0c Mon Sep 17 00:00:00 2001 From: omnizs38 Date: Tue, 30 Jun 2026 13:53:18 +0500 Subject: [PATCH] fix(sync): reset #sending flag when no active connection on sendStepsNow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without this fix, a connection loss during step push setup leaves before calling sendStepsNow(), so all subsequent local changes are silently dropped — never sent to the server — even after the connection recovers. Signed-off-by: omnizs38 --- src/services/SyncService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/SyncService.ts b/src/services/SyncService.ts index 16ec62b68cf..d15da90a9e6 100644 --- a/src/services/SyncService.ts +++ b/src/services/SyncService.ts @@ -245,6 +245,7 @@ class SyncService { this.bus.emit('stateChange', { dirty: true }) } if (!this.hasActiveConnection()) { + this.#sending = false return } const sendable = this.#outbox.getDataToSend()