mirror of
https://gitlab.com/RemixDev/deemix-js.git
synced 2024-12-29 10:56:18 +00:00
fixed crash on download cancel
This commit is contained in:
parent
d2f493fce2
commit
caa2ef81f3
|
@ -504,7 +504,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