mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 07:00:55 +02:00
multi: add shutdown logs in subservers
This commit adds a simple shutdown to every subserver to assist debugging.
This commit is contained in:
@@ -91,6 +91,7 @@ func (h *HtlcNotifier) Start() error {
|
||||
func (h *HtlcNotifier) Stop() error {
|
||||
var err error
|
||||
h.stopped.Do(func() {
|
||||
log.Info("HtlcNotifier shutting down")
|
||||
if err = h.ntfnServer.Stop(); err != nil {
|
||||
log.Warnf("error stopping htlc notifier: %v", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user