-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when playback is started immediately after binding #32
Comments
Facing same problem. Thanks for sharing. You solved my Problem. 😄 |
I'll take a look at this when I get a chance. I think it may require one tick but I thought I covered this |
This also makes it crash with an IllegalStateException.
|
Try to call it before |
@rafaeltoledo That's how I originally did it but it didn't make a difference. I ended up adding the runnable snippet posted above and it seems to work or rather it doesn't crash. I'm not actually sure whether it does release because if there is only one song queued up then the audio player won't disappear and it can't close. |
This piece of code makes the app crash:
On the other hand, this piece of code works:
It seems like the player takes some time to start. No stacktrace is provided when the crash happens.
The text was updated successfully, but these errors were encountered: