From df36693ecb1a63253d40c4a931b115368afe0ce5 Mon Sep 17 00:00:00 2001 From: bymyself Date: Thu, 4 Sep 2025 19:21:40 -0700 Subject: [PATCH] cleanup comments --- src/components/graph/GraphCanvas.vue | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/components/graph/GraphCanvas.vue b/src/components/graph/GraphCanvas.vue index c4d2b5f35..802e13167 100644 --- a/src/components/graph/GraphCanvas.vue +++ b/src/components/graph/GraphCanvas.vue @@ -31,7 +31,7 @@ class="w-full h-full touch-none" /> - + { i18n.global.mergeLocaleMessage(locale, message) }) } catch (error) { - // Ignore i18n loading errors - not critical + console.error('Failed to load custom nodes i18n', error) } } @@ -615,7 +615,7 @@ onMounted(async () => { useCopy() usePaste() useWorkflowAutoSave() - useVueFeatureFlags() // Automatically syncs Vue nodes flag with LiteGraph + useVueFeatureFlags() comfyApp.vueAppReady = true @@ -719,19 +719,14 @@ onMounted(async () => { }) onUnmounted(() => { - // Clean up node manager if (nodeManager) { nodeManager.cleanup() nodeManager = null } - - // Clean up slot layout sync if (slotSync) { slotSync.stop() slotSync = null } - - // Clean up link layout sync if (linkSync) { linkSync.stop() linkSync = null