Set buffering to false on dispose
This commit is contained in:
parent
ae2b6102bc
commit
f5b3ce92bc
2 changed files with 2 additions and 1 deletions
|
@ -323,6 +323,7 @@ public class AudioPlayer implements MethodCallHandler, Player.EventListener {
|
|||
|
||||
public void dispose() {
|
||||
player.release();
|
||||
buffering = false;
|
||||
transition(PlaybackState.none);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue