Handling websocket disconnects

I’m utilizing ImFusion’s websocket functionality to connect to another program.
Everything works very well so far, but any time the client disconnects, I get a constant stream of
“[WebsocketServer] Ignore error (connection closed already)” messages, freezing up the software.

How do I deal with disconnects properly to keep this from happening?

can you share some implementation details for the server and the client? Then I can try to reproduce the issue and see if there is a bug on our side or if I can give you some recommendation for the implementation.

I guess that you see a warning (orange color), right? This warning is triggered upon an error when accepting the connection on the server side. So, it is weird that you see that when you disconnected.