Skip to content

Websocket state does not clean up properly #3120

Closed

Description

@shengquan-ni

The web socket state on the front end does not clear properly when the user returns to the dashboard. When entering another workflow, the web socket is re-opened in its previous state.

In #3093, I fixed the issue of websocket re-opeining within the canvas by preventing using the same wid to open websocket again. I believe in the current case we are updating wid in the wid -> null -> wid pattern so my fix does not cover this case.

I think a proper fix for this issue is to clean up every state related to websocket when the user returns to the dashboard.

2024-11-24.4.07.46.mov

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions