mirror of
https://gitlab.com/RemixDev/deemix-js.git
synced 2024-12-28 18:36:26 +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,
|
errid: e.errid,
|
||||||
data: itemData
|
data: itemData
|
||||||
}}
|
}}
|
||||||
} else if (! (e instanceof DownloadCanceled)){
|
} else if (e instanceof DownloadCanceled){
|
||||||
|
return
|
||||||
|
} else {
|
||||||
console.trace(e)
|
console.trace(e)
|
||||||
result = {error:{
|
result = {error:{
|
||||||
message: e.message,
|
message: e.message,
|
||||||
|
|
Loading…
Reference in a new issue