W3C home > Mailing lists > Public > public-audio@w3.org > January to March 2012

Audio-ISSUE-3 (quinnirill): A way to destroy an AudioContext instance [Web Audio API]

From: Audio Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Mon, 05 Mar 2012 17:28:06 +0000
Message-Id: <E1S4bhe-0004I4-2D@tibor.w3.org>
To: public-audio@w3.org
Audio-ISSUE-3 (quinnirill): A way to destroy an AudioContext instance [Web Audio API]


Raised by: Jussi Kalliokoski
On product: Web Audio API

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:
Received on Monday, 5 March 2012 17:28:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:02 UTC