goldfire/howler.js — pull request #177 by alexdong (2014-07-09 06:13:40+00:00)
Title: Fire 'onend' event when close is called.

If a node is still playing while `unload` is called, the `onend` event handler will not be fired. This patch makes sure that `stop` in general will fire the `end` event.

Although this seems to have fixed the sympton for me, I am not 100% sure that this is the correct place to put it. It also feels a bit strange that I am the first one who runs into this problem. So please take this with a grain of salt.