Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: check closed status of socket during callbacks
Sometimes calling `getSendQueueCount` can cause an internal crash, I think it may be because packets are being sent during server shutdown - guarding on the `this.closed` property similar to the `sendPacket` method avoids the crash.
- Loading branch information