Set buffering to false on dispose

This commit is contained in:
Ryan Heise 2020-02-05 22:47:10 +11:00
parent ae2b6102bc
commit f5b3ce92bc
2 changed files with 2 additions and 1 deletions

View file

@ -323,6 +323,7 @@ public class AudioPlayer implements MethodCallHandler, Player.EventListener {
public void dispose() {
player.release();
buffering = false;
transition(PlaybackState.none);
}