mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-04-09 16:41:23 +00:00
This changes the previous behaviour a little, but hopefully is more sane: - Only require the socket to be open when first calling receive. This means if it closes while receving, you won't get an error. This behaviour is still not perfect - the socket could have closed, but the event not reached the user yet, but it's better. - Listen to websocket_close events while receiving, and return null should it match ours. See #201