-
-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Guard against double onDisconnect calls in common packet listener
The non-game type implementation will not guard against double calls, which means that any invocation of disconnect() would immediately call onDisconnect and then later the connection handler would also call onDisconnect. Fixes #181
- Loading branch information
1 parent
6928284
commit e89a107
Showing
1 changed file
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters