Skip to content

[bug] Duplicate voice typing listeners: starting twice in a row leaves multiple concurrent API streams #109

Description

@Lanznx

Problem

After a voice typing session finishes, starting voice typing again produces a duplicate listener:

  • The previous listener is not properly closed/released
  • As a result multiple API streams return data concurrently, producing duplicated or garbled results

Reproduction

  1. Start voice typing → let it finish
  2. Start voice typing again
  3. Observe the duplicate listener + multiple concurrent API responses

Direction

  • Before starting a new listener, make sure the previous session is fully torn down (stop the stream / cancel in-flight requests)
  • Never allow more than one active listener at a time

Owner

YJ (@YJack0000)

Source: notes from a team sync.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions