Skip to content

Commit

Permalink
Merge pull request #617 from huozhi/master
Browse files Browse the repository at this point in the history
reset audio context noAudio to false when unload
  • Loading branch information
goldfire authored Oct 14, 2016
2 parents dcc679f + 2a7b706 commit 46dc669
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/howler.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -1446,6 +1446,9 @@
delete cache[self._src];
}

// Clear global errors
Howler.noAudio = false;

// Clear out `self`.
self._state = 'unloaded';
self._sounds = [];
Expand Down

0 comments on commit 46dc669

Please sign in to comment.