mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-16 07:23:31 +08:00
Fixed check for polling
This commit is contained in:
parent
2209b50f7c
commit
653b4aba74
@ -39,7 +39,7 @@ class ComfyApi extends EventTarget {
|
||||
|
||||
this.socket.addEventListener("error", () => {
|
||||
if (this.socket) this.socket.close();
|
||||
if (!opened) {
|
||||
if (!isReconnect && !opened) {
|
||||
this.#pollQueue();
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user