From a8f45ab11d6731e591ae3d0230be3fec6c2efc91 Mon Sep 17 00:00:00 2001 From: Josh Montoya Date: Mon, 8 Dec 2025 08:33:07 -0800 Subject: [PATCH] go : reset context.n in Process() (#3503) --- bindings/go/pkg/whisper/context.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bindings/go/pkg/whisper/context.go b/bindings/go/pkg/whisper/context.go index cb3d9eb8..294a0320 100644 --- a/bindings/go/pkg/whisper/context.go +++ b/bindings/go/pkg/whisper/context.go @@ -237,6 +237,9 @@ func (context *context) Process( return err } + // Reset n so that more Segments can be available within NextSegment call + context.n = 0 + // Return success return nil }