Skip to content

fix: 停止任务超时的正确UI显示 - #349

Merged
MistEO merged 1 commit into
MistEO:mainfrom
HarcoChen:fix/stopTimeOut
Sep 17, 2026
Merged

MistEO merged 1 commit into
MistEO:mainfrom
HarcoChen:fix/stopTimeOut

Conversation

@HarcoChen

@HarcoChen HarcoChen commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

任务停止超时则给出提示,仅真正停止成功时记录 hotkeyStopSuccess. fix MaaEnd/MaaEnd#5705

Sourcery 总结

在停止任务超时时显示准确的 UI 反馈。

错误修复:

  • 修正快捷键停止反馈:仅当任务实际停止时记录成功;对于超时的停止操作,则显示待处理警告。

改进:

  • 通过共享的停止流程传递停止操作结果,使任务状态与 UI 反馈保持一致。
Original summary in English

Summary by Sourcery

Show accurate UI feedback when stopping tasks times out.

Bug Fixes:

  • Correct hotkey stop feedback so success is logged only when tasks actually stop, while timed-out stops receive a pending warning instead.

Enhancements:

  • Propagate the stop operation result through the shared stop flow to keep task state and UI feedback aligned.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你好——我已经审阅了你的更改,看起来很棒!


Sourcery 对开源项目免费——如果你喜欢我们的评审,欢迎考虑分享它们 ✨
Original comment in English

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@MistEO
MistEO merged commit 10203c3 into MistEO:main Sep 17, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

快捷键停止任务失败

2 participants