Replies: 3 comments
-
I do |
Beta Was this translation helpful? Give feedback.
0 replies
-
Have you heard about this thing called try/catch? |
Beta Was this translation helpful? Give feedback.
0 replies
-
It could also be the case that getUserData() is available at all times. Not sure. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My server is crashing when connections are closed before a send(...) call. For example:
How should I track which sockets have gone through the close handler? I'm using TypeScript so can't just add a new field like
ws.aborted = true
, and I'm guessing it's invalid to add some property togetUserData()
, since the socket is invalid. Thanks.Beta Was this translation helpful? Give feedback.
All reactions