mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-20 03:13:30 +00:00
Fixed check for polling
This commit is contained in:
parent
a8315a6fb8
commit
4bdfbb3379
@ -39,7 +39,7 @@ class ComfyApi extends EventTarget {
|
|||||||
|
|
||||||
this.socket.addEventListener("error", () => {
|
this.socket.addEventListener("error", () => {
|
||||||
if (this.socket) this.socket.close();
|
if (this.socket) this.socket.close();
|
||||||
if (!opened) {
|
if (!isReconnect && !opened) {
|
||||||
this.#pollQueue();
|
this.#pollQueue();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user