Fixed check for polling

main
pythongosssss 2 years ago
parent a8315a6fb8
commit 4bdfbb3379

@ -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…
Cancel
Save