fix(playback): remove disposed sound instance from cache
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2469>
This commit is contained in:
parent
2aca2f18d5
commit
05f79c9489
3 changed files with 13 additions and 1 deletions
|
|
@ -324,7 +324,7 @@ export const useQueue = createGlobalState(() => {
|
|||
const clear = async () => {
|
||||
await currentSound.value?.pause()
|
||||
await currentSound.value?.seekTo(0)
|
||||
currentSound.value?.dispose()
|
||||
await currentSound.value?.dispose()
|
||||
|
||||
clearRadio.value = true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue