task_queue 三处 connect 补 Qt.QueuedConnection (等价 master a8d0cf0f)
master 上 a8d0cf0f 修过:worker_ref.{finished,error,progress}.connect 默认 DirectConnection,lambda 在 worker 线程同步执行,链路尽头动主线程 GUI (refresh_history / sidebar 刷新) → C++ access violation。 Windows 表现为 fatal exception,macOS 表现为静默 SIGKILL 闪退。 qml-poc 从 5f2a43f7 fork,没拿到这个修复。直接合回 master 会带着雷。 不 cherry-pick 原因:qml-poc 已把 'from image_generator import' 改成 'from core.generation import',cherry-pick a8d0cf0f 会冲突。 手工等价应用更干净。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Showing
1 changed file
with
10 additions
and
3 deletions
-
Please register or sign in to post a comment