From f56c42f3536ccba6e481f02ee5c357ee791a05a7 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Sat, 1 Feb 2020 14:45:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9F=90=E4=BA=9B=E6=83=85?= =?UTF-8?q?=E5=86=B5=E4=B8=8B=E6=9A=82=E5=81=9C=E4=BB=BB=E5=8A=A1=E4=BC=9A?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=BC=80=E5=A7=8B=E4=BB=BB=E5=8A=A1=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish/changeLog.md | 3 +++ src/renderer/utils/download/Downloader.js | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/publish/changeLog.md b/publish/changeLog.md index 2ff0344a..78dd576c 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -1,6 +1,7 @@ ### 新增 - 允许选中列表内歌曲名、歌手名、专辑名内的文字,选中后可使用键盘快捷键进行复制 +- 任务下载失败时将显示搜索按钮,方便在其他源搜索该歌曲 ### 优化 @@ -11,6 +12,8 @@ - 修复启用透明窗口鼠标不穿透的bug - 修复大窗口时设置的音乐来源选项不换行的问题 +- 修复某些情况下暂停任务会自动开始任务的问题 +- 修复移除暂停、错误的任务时不删除未下载完成的文件的问题 ### 其他 diff --git a/src/renderer/utils/download/Downloader.js b/src/renderer/utils/download/Downloader.js index 2be98891..53ed77a1 100644 --- a/src/renderer/utils/download/Downloader.js +++ b/src/renderer/utils/download/Downloader.js @@ -140,7 +140,8 @@ class Task extends EventEmitter { if (response.complete) { this.__handleComplete() } else { - this.__handleError(new Error('The connection was terminated while the message was still being sent')) + // this.__handleError(new Error('The connection was terminated while the message was still being sent')) + this.stop() } }) })