-
-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exit with error when attempting to forward an unavailable port. (#164)
Previous code has an out-of-order error check, starting a thread and *then* returning on error. This leads to a null-pointer panic if you attempt to forward a port that is already in use. Please enter the commit message for your changes. Lines starting Co-authored-by: danielpaulus <[email protected]>
- Loading branch information
1 parent
e72e44b
commit 06383c6
Showing
2 changed files
with
4 additions
and
3 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
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