You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After an element with a ws-connect attribute is removed, the socket connection is closed but then immediately reconnects. If a long lived web page adds and removes many elements with ws-connect, every websocket that ever lived still keeps reconnecting.
This behavior seems to have been added by this commit.
Activity
Telroshan commentedon Apr 29, 2025
Seems like this was an accident indeed @goertzenator
If you are interested, please feel free to open a PR to fix that, along with a test case so we prevent any future regression!
fix event ordering in websocket mock and update test case
fix case 161: websockets not closing (#162)