Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to execute close on AudioContext #63

Open
binlux opened this issue Apr 14, 2021 · 2 comments
Open

Failed to execute close on AudioContext #63

binlux opened this issue Apr 14, 2021 · 2 comments

Comments

@binlux
Copy link

binlux commented Apr 14, 2021

after updating google chrome to v90

Capture

@CHANist
Copy link

CHANist commented Apr 23, 2021

I also suffer the same issue. However, using vmsg v0.3.6 instead of v0.4.0, solves the issue.

@vacho
Copy link

vacho commented Oct 12, 2022

I have related issue "Uncaught (in promise) DOMException: Can't close an AudioContext twice" for V0.4.0
This is the line:

vmsg/vmsg.js

Line 172 in 623b294

if (this.audioCtx) this.audioCtx.close();

NOTE: locally this was fixed by this:

- if (this.audioCtx) this.audioCtx.close();
+ if (this.audioCtx && this.audioCtx.state != 'closed') this.audioCtx.close();

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants