ComfyUI
ComfyUI copied to clipboard
When switching tabs, the front-end node will be repeatedly initialized, causing loading failure
Expected Behavior
Switching tabs should not cause repeated initialization of the front end
Actual Behavior
This is not an isolated case. Many front-end nodes have this problem. A typical example is the painter node, which has a problem of repeated initialization after switching pages. Each switch will accumulate repeated initialization, resulting in failure to update the status normally.
Steps to Reproduce
I tried to modify the node to prevent duplicate initialization, but it didn't work.