When you force close a client terminal the server gets flooded with errors and lags a bit
Describe the bug Server doesn't handle force quits well.
To Reproduce Steps to reproduce the behavior:
- ctrl+shift+w a client
- look server log
Expected behavior I expected it to work the same as ctrl-q
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- Windows 10
Additional context
[ERROR] Encountered an error receiving data: Os { code: 10054, kind: ConnectionReset
I was able to do a pvp battle with myself at least, so that's cool 🗡️
Similar problems are trying to run a server with one already active gets stuck loading. Same with running a client with no active server.
Yeah, this is something I'm aware of, and error handling in general I've not put much effort into yet.