Merge branch 'master' of github.com:ryanheise/just_audio
This commit is contained in:
commit
8680cac01a
7 changed files with 158 additions and 74 deletions
|
@ -451,7 +451,7 @@ class AudioPlayer {
|
|||
/// * [AudioPlaybackState.none]
|
||||
/// * [AudioPlaybackState.connecting]
|
||||
Future<void> dispose() async {
|
||||
await _invokeMethod('dispose');
|
||||
await _invokeMethod('dispose', [_id]);
|
||||
if (_cacheFile?.existsSync() == true) {
|
||||
_cacheFile?.deleteSync();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue