Comfy-Org / Comfy-Org/ComfyUI_frontend

Fix socket race condition

Open
#4,440 0 comments 0 reactions 1 assignee Claimed by @webfiltered View on GitHub
area:comms verified bug
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

A race condition can exist if rapidly opening and closing web sockets in `api.ts`. Found in async PR 4439 review. Once merged, resolve it fully.

Would cause merge conflict; impact is minimal and edge, can wait.

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-4440-Fix-socket-race-condition-22f6d73d365081c7953defa5c77cfabf) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.