From 27d2e6cadc953694a7044e5f352f27f92c2654d2 Mon Sep 17 00:00:00 2001 From: Jimb Esser Date: Fri, 15 May 2020 08:54:15 -0700 Subject: [PATCH] Fix leaking Audio elements when audio context cannot be unlocked (MacOS Safari) --- src/howler.core.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/howler.core.js b/src/howler.core.js index 9dfa7c8c..a16527dc 100644 --- a/src/howler.core.js +++ b/src/howler.core.js @@ -326,7 +326,7 @@ // to the WebAudio API which only needs a single activation. // This must occur before WebAudio setup or the source.onended // event will not fire. - for (var i=0; i