From 910bef52e4daca294d535a3aa97c5a3cd12d26c2 Mon Sep 17 00:00:00 2001 From: Alexander Brown Date: Sat, 24 Oct 2026 12:36:09 -0700 Subject: [PATCH] Apply suggestion from @DrJKL --- js/comfyui-manager.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/js/comfyui-manager.js b/js/comfyui-manager.js index efca23dec..f372550e3 100644 --- a/js/comfyui-manager.js +++ b/js/comfyui-manager.js @@ -1536,9 +1536,6 @@ app.registerExtension({ }); }, async setup() { - // Patch the prototype rather than the app.graph instance: newer frontends - // create a separate graph per workflow tab, so an instance patch would only - // ever see the graph that existed at startup. const graphProto = Object.getPrototypeOf(app.graph); const orig_clear = graphProto.clear; graphProto.clear = function () {