Commit 32f22513 authored by Skye Yu's avatar Skye Yu

fix: remove test audio when device disconnected

parent 795aac4a
......@@ -88,7 +88,7 @@ function Jensen(log) {
try {
clearTimeout(statusTimeout);
const audio = document.getElementById('test_audio');
audio && audio.pause() && audio.remove();
audio && audio.remove();
if (this.ondisconnect && !this.isStopConnectionCheck) this.ondisconnect();
} catch (e) {
console.log(e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment