修复资源任务延迟调用错误
Project CI / AI game creator shell Rust shard 4/4 (push) Has been cancelled
Project CI / AI game creator shell Rust smoke (push) Has been cancelled
Project CI / AI game creator shell Rust crates (push) Has been cancelled
Project CI / Backend tests (push) Has been cancelled
Project CI / Native shell tests (push) Has been cancelled
Project CI / Frontend tests (push) Has been cancelled
Project CI / Repository checks (push) Has been cancelled
Project CI / AI game creator shell web tests (push) Has been cancelled
Project CI / AI game creator shell Rust shard 1/4 (push) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (push) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (push) Has been cancelled

正确结束延迟 Promise 链,避免组件挂载时 TypeError
This commit is contained in:
2026-09-16 00:51:32 +08:00
parent 2e2ff552f7
commit 792530ad24
@@ -7237,7 +7237,7 @@ export default function ProjectDevelopmentView({
resourceAssetGenerationTasksRef.current = restored;
setResourceAssetGenerationTasks(restored);
},
)();
);
return () => {
cancelled = true;
};