This commit is contained in:
Timothy J. Baek 2024-06-13 20:16:23 -07:00
parent 7f70de99d3
commit 18ae5860bc

View File

@ -533,6 +533,10 @@
eventTarget.removeEventListener('chat', chatEventHandler); eventTarget.removeEventListener('chat', chatEventHandler);
eventTarget.removeEventListener('chat:finish', chatFinishHandler); eventTarget.removeEventListener('chat:finish', chatFinishHandler);
audioAbortController.abort();
await tick();
await stopAllAudio();
await stopRecordingCallback(false); await stopRecordingCallback(false);
await stopCamera(); await stopCamera();
}; };