fix compile error

This commit is contained in:
Zhi Qi
2022-10-16 08:24:50 +08:00
parent 8bb4f64ae2
commit 68bbb22fe6

View File

@@ -264,7 +264,7 @@ void Assistant::working_proc()
lock.unlock();
// We don't consider a task failed when user stop it.
auto msg = ret || m_thread_idle ? AsstMsg::TaskChainSuccess : AsstMsg::TaskChainFailed;
auto msg = ret || m_thread_idle ? AsstMsg::TaskChainCompleted : AsstMsg::TaskChainError;
task_callback(msg, callback_json, this);
if (!m_thread_idle && m_tasks_list.empty()) {