-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If there is no network available, then the InetAddress.getByName will fail, leaving server = null. This then causes a NullPointerException when the Socket goes to use it. Modified how the server variable is handled in order to fix this. Also modified RelayConnection so that a handler can only be added once for a specific message. This should prevent the bufferManager receiving multiple callbacks once the connection is restored.
- Loading branch information
1 parent
c59a978
commit 16afa1d
Showing
1 changed file
with
14 additions
and
10 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