Implement audioBuffer.dispose() for HowlerJS

This commit is contained in:
Joshua Granick
2016-11-11 16:05:06 -08:00
parent 72d062b563
commit c850459fa5

View File

@@ -55,7 +55,11 @@ class AudioBuffer {
public function dispose ():Void {
#if lime_console
#if (js && html5 && howlerjs)
__srcHowl.unload ();
#elseif lime_console
if (channels > 0) {
src.release ();