Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fatal when calling GlobalProtocolRegister with server(s) already star…
…ted (#373) * Added flag to ProtocolStorage and fatal when calling GlobalProtocolRegister while at least a server already started. * Good style for comments. * Panic instead of logging when calling 'GlobalProtocolRegister' after a server has been started. * Format protocol_test.go. * Deferred Unlock was causing a deadlock in GlobalProtocolRegister, should not be deferred.
- Loading branch information
1 parent
b64bb10
commit cf5cc68
Showing
4 changed files
with
58 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
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
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