Skip to content

Fix late socket close handling in speech-to-text - #25

Merged
itsRares merged 2 commits into
mainfrom
feature/3.0.1
Nov 18, 2026
Merged

itsRares merged 2 commits into
mainfrom
feature/3.0.1

Conversation

@itsRares

Copy link
Copy Markdown
Owner

Ignore late socket close events from previous sessions while a new session is starting, preventing disruptions in the speech-to-text functionality. Update version to 3.0.1 and document changes in the changelog.

The previous socket close handshake could land while the next startListening() was still awaiting the mic, tearing down the new session and opening its socket with an empty URL. ManagedSocket now reports closedByUser, and the hook ignores such closes while a session is active.
@itsRares
itsRares merged commit 5b61bce into main Nov 18, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant