When the server side closes the connection, a Net.Socket error will be emitted, this causes nes to remove the ws.onclose handler and thus the client.onDisconnect handler will never be called. Example:
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
When the server side closes the connection, a
Net.Socket
error will be emitted, this causes nes to remove thews.onclose
handler and thus theclient.onDisconnect
handler will never be called. Example: