socket.io-deno
socket.io-deno copied to clipboard
readyState bug while sending data from server
Current implementation of socketio doesn't have if (this.writable && this.readyState === "open") check before sending the data. This causes server crash.
Because the code was on the Render cloud, I did not found any way to reproduce it on my pc. Thus by adding this.readyState === "open" check, the issue was fixed.
I pulled a request with the fix.