mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 10:57:45 +08:00
fix: 修复ProcessTask停不掉的问题
This commit is contained in:
@@ -93,6 +93,10 @@ bool ProcessTask::_run()
|
||||
if (need_exit()) {
|
||||
return false;
|
||||
}
|
||||
if (!m_enable) {
|
||||
Log.info("task disabled, pass", basic_info().to_string());
|
||||
return true;
|
||||
}
|
||||
if (m_cur_task_ptr && m_pre_task_name != m_cur_task_ptr->name) {
|
||||
m_pre_task_name = m_cur_task_ptr->name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user