同步错误返回。无错误要返回一个完成
This commit is contained in:
@@ -475,6 +475,7 @@ func (t *BaseTask) run(taskHandler func()) {
|
|||||||
close(t.finishChan)
|
close(t.finishChan)
|
||||||
if t.finishHook != nil {
|
if t.finishHook != nil {
|
||||||
t.finishHook(t)
|
t.finishHook(t)
|
||||||
|
SendMessage(t)
|
||||||
} else {
|
} else {
|
||||||
SendMessage(t)
|
SendMessage(t)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user