From 14294522e785df9af47b8b501fe4c8d47297ada1 Mon Sep 17 00:00:00 2001 From: Ali Alavi Date: Fri, 25 Sep 2026 19:32:35 +0000 Subject: [PATCH] chore: clean unused weak self closure in onCommittedDelta --- src/AppDelegate.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/AppDelegate.swift b/src/AppDelegate.swift index e04f5c3..db34d71 100644 --- a/src/AppDelegate.swift +++ b/src/AppDelegate.swift @@ -131,8 +131,7 @@ public final class AppDelegate: NSObject, NSApplicationDelegate { } // Handle streaming delta text (incremental committed words) - session.onCommittedDelta = { [weak self] delta in - guard let self = self else { return } + session.onCommittedDelta = { delta in // If it's an executive slash command, do NOT type it into the input box if SonioxSettings.shared.voiceCommands && VoiceCommandExecutor.shared.isSlashCommand(text: delta) { return