Detect sends on closed websocket explicitly.
It turns out that send on a closed websocket doesn't throw, so handle this case explicitly. Thanks to Giuseppe Castagna for noticing.
Showing
Please register or sign in to comment
It turns out that send on a closed websocket doesn't throw, so handle this case explicitly. Thanks to Giuseppe Castagna for noticing.