Don't orphan cache files when load fails.
This commit is contained in:
parent
0685398923
commit
5e2eae9a10
|
@ -469,7 +469,6 @@ class AudioPlayer {
|
||||||
return duration;
|
return duration;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
_audioSource = null;
|
_audioSource = null;
|
||||||
_audioSources.clear();
|
|
||||||
rethrow;
|
rethrow;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue