Fix crash when MuteDeck stops a recording #5

Merged
superdooper-coder merged 1 commits from codex/fix-recording-stop-crash into main 2026-07-15 11:26:35 +02:00
superdooper-coder commented 2026-07-15 11:23:37 +02:00 (Migrated from github.com)

Summary

  • serialize audio-file writes against recording teardown
  • stop accepting callback audio before finalizing AVAudioFile instances
  • cancel delayed microphone restarts when recording stops

Evidence

The live Whisper service received no request from the failed meeting, placing the crash before upload/transcription. The stop path previously released AVAudioFile while microphone and system callbacks could still be writing.

## Summary - serialize audio-file writes against recording teardown - stop accepting callback audio before finalizing AVAudioFile instances - cancel delayed microphone restarts when recording stops ## Evidence The live Whisper service received no request from the failed meeting, placing the crash before upload/transcription. The stop path previously released AVAudioFile while microphone and system callbacks could still be writing.
Sign in to join this conversation.