Merge pull request #2522 from roeierez/cleanup_server_error
Cleanup in case of server failed to start
This commit is contained in:
13 files changed
+223
-69
No files matched your search
@@ -465,8 +465,9 @@ func (d *AuthenticatedGossiper) start() error {
|
||||
}
|
||||
|
||||
// Stop signals any active goroutines for a graceful closure.
|
||||
func (d *AuthenticatedGossiper) Stop() {
|
||||
func (d *AuthenticatedGossiper) Stop() error {
|
||||
d.stopped.Do(d.stop)
|
||||
return nil
|
||||
}
|
||||
|
||||
func (d *AuthenticatedGossiper) stop() {
|
||||
|
||||
Reference in new issue
Block a user