mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-07 19:30:46 +02:00
multi: add debug logs to catch slow shutdown
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
ba007d9373
commit
66b8700c0b
@@ -2244,7 +2244,8 @@ func (s *Switch) Stop() error {
|
||||
return errors.New("htlc switch already shutdown")
|
||||
}
|
||||
|
||||
log.Info("HTLC Switch shutting down")
|
||||
log.Info("HTLC Switch shutting down...")
|
||||
defer log.Debug("HTLC Switch shutdown complete")
|
||||
|
||||
close(s.quit)
|
||||
|
||||
|
Reference in New Issue
Block a user