Skip to content

FileLoad events are lost when the queue is paused due to an error on any file #231

@chepemago

Description

@chepemago

When there is an error and stopOnError is set to true, the queue is stopped but if some files are loaded at the same time, the event fileLoad is not dispatched.
If then, the queue is resumed, the files which were loaded but not "reported" are missed. This issue can be reproduced when trottling the network (using low bandwidth)

Activity

lannymcnie

lannymcnie commented on Oct 23, 2017

@lannymcnie
Member

What is the expectation here? If a file completes in a stopped queue, we currently ignore events. Maybe we should queue them up, and dispatch them ALL once the queue is restarted?

chepemago

chepemago commented on Oct 23, 2017

@chepemago
Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @wdamien@lannymcnie@chepemago

        Issue actions

          FileLoad events are lost when the queue is paused due to an error on any file · Issue #231 · CreateJS/PreloadJS