Skip to content

Howls that fail to load aren't removed from Howler.howls when calling unload() #978

Closed
@dgrenzo

Description

let failed_howl = new Howl({ src: [''], onloaderror: () => { Howler.unload(); } });

I think it is because the .splice is happening inside a loop at line 1583 of howler.core.js that never gets executed for Howls that haven't loaded.

Activity

goldfire

goldfire commented on Jun 22, 2018

@goldfire
Owner

Thanks! It was indeed in the wrong spot and shouldn't have been inside that for loop.

added a commit that references this issue on Apr 21, 2019
19d2fc4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Howls that fail to load aren't removed from Howler.howls when calling unload() · Issue #978 · goldfire/howler.js