修复某些情况下暂停任务会自动开始任务的问题

pull/166/head
lyswhut 2020-02-01 14:45:52 +08:00
parent 5edf51810d
commit f56c42f353
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,7 @@
### 新增
- 允许选中列表内歌曲名、歌手名、专辑名内的文字,选中后可使用键盘快捷键进行复制
- 任务下载失败时将显示搜索按钮,方便在其他源搜索该歌曲
### 优化
@ -11,6 +12,8 @@
- 修复启用透明窗口鼠标不穿透的bug
- 修复大窗口时设置的音乐来源选项不换行的问题
- 修复某些情况下暂停任务会自动开始任务的问题
- 修复移除暂停、错误的任务时不删除未下载完成的文件的问题
### 其他

View File

@ -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()
}
})
})