fix: the microphone stays on after leaving a chat mid-dictation (#32640)

This commit is contained in:
G30 2026-10-20 14:06:39 -04:00 • committed by GitHub
parent 70fb5462ea
commit 636b631ab7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -471,6 +471,7 @@
onDestroy(() => {
window.removeEventListener('keydown', handleKeyDown);
document.removeEventListener('visibilitychange', handleVisibilityChange);
stopRecording();
releaseWakeLock();
closeAudioContext();
// remove resize observer