mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 14:40:51 +02:00
multi: add debug logs to catch slow shutdown
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
ba007d9373
commit
66b8700c0b
@@ -52,7 +52,9 @@ func (p *PeerNotifier) Start() error {
|
||||
func (p *PeerNotifier) Stop() error {
|
||||
var err error
|
||||
p.stopped.Do(func() {
|
||||
log.Info("PeerNotifier shutting down")
|
||||
log.Info("PeerNotifier shutting down...")
|
||||
defer log.Debug("PeerNotifier shutdown complete")
|
||||
|
||||
err = p.ntfnServer.Stop()
|
||||
})
|
||||
return err
|
||||
|
Reference in New Issue
Block a user