ISSUE-3: (Bugzilla 17423) A way to destroy an AudioContext instance

destroy-audiocontext

(Bugzilla 17423) A way to destroy an AudioContext instance

State:
CLOSED
Product:
Web Audio API
Raised by:
Jussi Kalliokoski
Opened on:
2012-03-05
Description:
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.

Relevant threads:
http://lists.w3.org/Archives/Public/public-audio/2012JanMar/0294.html
http://lists.w3.org/Archives/Public/public-audio/2012JanMar/0296.html
http://lists.w3.org/Archives/Public/public-audio/2012JanMar/0297.html
Related Actions Items:
Related emails:
  1. [web-audio-api] A way to destroy an AudioContext instance (#230) (from notifications@github.com on 2013-09-11)
  2. [Bug 17423] New: A way to destroy an AudioContext instance (from bugzilla@jessica.w3.org on 2012-06-05)
  3. Minutes of audio WG teleconference, 2012-04-16 (from olivier.thereaux@bbc.co.uk on 2012-04-19)
  4. Re: [Agenda] W3C Audio WG Teleconference, 16th April 2012 (from tmichel@w3.org on 2012-04-14)
  5. Re: [Agenda] W3C Audio WG Teleconference, 16th April 2012 (from gabriel.cardoso@inria.fr on 2012-04-14)
  6. Re: [Agenda] W3C Audio WG Teleconference, 16th April 2012 (from cwilso@google.com on 2012-04-13)
  7. [Agenda] W3C Audio WG Teleconference, 16th April 2012 (from olivier.thereaux@bbc.co.uk on 2012-04-13)
  8. Re: Minutes of Audio WG teleconference, 2012-03-05 (from tmichel@w3.org on 2012-03-07)
  9. Minutes of Audio WG teleconference, 2012-03-05 (from olivier.thereaux@bbc.co.uk on 2012-03-07)
  10. Audio-ISSUE-3 (quinnirill): A way to destroy an AudioContext instance [Web Audio API] (from sysbot+tracker@w3.org on 2012-03-05)

Related notes:

See discussion from here on in last weeks teleconf: http://www.w3.org/2012/03/05-audio-minutes#item05

Jussi Kalliokoski, 12 Mar 2012, 17:44:52

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.

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

Alistair MacDonald, 30 Apr 2012, 17:03:11

Migrated to Bugzilla:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17423

Olivier Thereaux, 7 Jun 2012, 14:10:01

Display change log ATOM feed


Matthew Paradis <matthew.paradis@bbc.co.uk>, Raymond Toy <rtoy@google.com>, Chairs, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 3.html,v 1.1 2019/11/12 13:32:18 carcone Exp $