mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-08 14:57:38 +02:00
Merge pull request #2522 from roeierez/cleanup_server_error
Cleanup in case of server failed to start
This commit is contained in:
@@ -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