Web-audio-api: A way to destroy an AudioContext instance

Created on 11 Sep 2013  ·  2Comments  ·  Source: WebAudio/web-audio-api

Originally reported on W3C Bugzilla ISSUE-17423 Tue, 05 Jun 2012 15:52:37 GMT
Reported by olivier Thereaux
Assigned to

Closed per http://www.w3.org/2011/audio/track/issues/3

Raised by Jussi as “There should be a way to destroy an Audio Context. This is especially important because the number of AudioContexts is limited, and if the end developer is using multiple libraries that create these contexts, this will be a problem unless the libraries have a way to get rid of the AudioContext instance. The ideal solution would be that AudioContexts would follow basic garbage collection rules and would be destroyed if there were no references to it, and currently the spec doesn't actually say anything about the garbage collection, so this is the expected behavior.”

Resolved at 16 Apr teleconference:

Resolution: close ISSUE-3 as satisfying as is, make sure we document limits in the number of contexts - not necessarily in the spec but in some developer doc.

http://lists.w3.org/Archives/Public/public-audio/2012AprJun/0060.html

Most helpful comment

Or better yet, see AudioContext.close()

All 2 comments

EDIT: See @rtoy's comment below

If you've reached this point, you should go here next =>> GO

Or better yet, see AudioContext.close()

Was this page helpful?
0 / 5 - 0 ratings