Skip to content

Maybe a bug #21

Description

@sprhawk

when quickly switch among songs, calling -stop, it may exit -startInternal before calling -failWithErrorCode(in a thread, for example parse bytes thread), however, before exiting -startInternal, state is set as AS_INITIALIZED, but in -failWithError, state is set as AS_STOPPED, so the -stop is in a dead loop.

so before set as AS_STOPPED in failWithError, it should check wheather the state is AS_INITIALIZED.

Activity

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

Metadata

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