Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Runs: stopping a 3D model's finish also stops its finish on the workers, indented with its block

Adarsh859cbe6105e3
diff --git a/src/server/generations.ts b/src/server/generations.ts
index 47485e37..bb07dd77 100644
--- a/src/server/generations.ts
+++ b/src/server/generations.ts
@@ -3013,7 +3013,7 @@ export async function cancelGeneration(id: string): Promise<void> {
// awaits, so it can't mark the job done in between.
if ((JSON.parse(r.external_meta_json ?? "{}") as Record<string, unknown>).finishing) {
stopModelFinish(id);
- stopWorkerFinish(id);
+ stopWorkerFinish(id);
update(id, { status: "canceled", completed_at: Date.now(), message: null });
return;
}