同步错误返回。无错误要返回一个完成

This commit is contained in:
苏尹岚
2020-02-04 14:09:16 +08:00
parent 34ae5e2ce6
commit 924d25d765

View File

@@ -475,6 +475,7 @@ func (t *BaseTask) run(taskHandler func()) {
close(t.finishChan)
if t.finishHook != nil {
t.finishHook(t)
SendMessage(t)
} else {
SendMessage(t)
}