diff --git a/package.json b/package.json index 731509fbc..7458fb373 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@comfyorg/comfyui-frontend", "private": true, - "version": "1.25.9", + "version": "1.25.10", "type": "module", "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", "homepage": "https://comfy.org", diff --git a/src/composables/useMinimap.ts b/src/composables/useMinimap.ts index 2aa3c124f..05a4c0e97 100644 --- a/src/composables/useMinimap.ts +++ b/src/composables/useMinimap.ts @@ -685,9 +685,10 @@ export function useMinimap() { const originalCallbacks = originalCallbacksMap.get(g.id) if (!originalCallbacks) { - throw new Error( + console.error( 'Attempted to cleanup event listeners for graph that was never set up' ) + return } g.onNodeAdded = originalCallbacks.onNodeAdded