Commit 4bdfbb33 authored by pythongosssss's avatar pythongosssss
Browse files

Fixed check for polling

parent a8315a6f
......@@ -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();
}
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment