mirror of
https://gitlab.com/RemixDev/deemix-js.git
synced 2024-12-28 02:16:08 +00:00
Merge pull request 'fixed crash on download cancel' (#1) from uhwot/deemix-js:cancel-crash-fix into main
Reviewed-on: https://git.freezer.life/RemixDev/deemix-js/pulls/1
This commit is contained in:
commit
5cf38bedde
|
@ -509,7 +509,9 @@ class Downloader {
|
|||
errid: e.errid,
|
||||
data: itemData
|
||||
}}
|
||||
} else if (! (e instanceof DownloadCanceled)){
|
||||
} else if (e instanceof DownloadCanceled){
|
||||
return
|
||||
} else {
|
||||
console.trace(e)
|
||||
result = {error:{
|
||||
message: e.message,
|
||||
|
|
Loading…
Reference in a new issue