Fix #115: Recording timer won't stop after recording stopped? #117

Merged
SaschaFuksa merged 1 commit from batch/115 into master 2026-04-26 13:11:16 +00:00
Owner
No description provided.
Fix #115: Recording timer won't stop after recording stopped
Some checks failed
CI / lint (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
f4bb71d44f
Two bugs were causing the timer to continue running after stopping:
1. isRecording was not set to false immediately in stopRecording(), so
   the UI continued to show the recording state until onstop fired.
2. No guard existed to prevent starting a new recording while the
   post-stop processing (API call, transcription) was in progress.

Fix:
- Set isRecording=false immediately in stopRecording() so the timer UI
  stops right away and the record button resets.
- Add isProcessing flag: set to true when stopRecording() is called,
  false again in stopSession() finally block.
- Guard recordBtnClick() with isProcessing check to block new recordings
  while processing is underway.
Tasch self-assigned this 2026-04-26 13:10:23 +00:00
SaschaFuksa deleted branch batch/115 2026-04-26 13:11:16 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Tasch/whisper-transcribe!117
No description provided.