"vscode:/vscode.git/clone" did not exist on "79d54f3fee26b23c6a5be8e6722432ad2c2bf3c2"
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