mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-27 04:26:42 +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:
@@ -257,6 +257,8 @@ func (i *InvoiceRegistry) Start() error {
|
||||
|
||||
// Stop signals the registry for a graceful shutdown.
|
||||
func (i *InvoiceRegistry) Stop() error {
|
||||
log.Info("InvoiceRegistry shutting down")
|
||||
|
||||
i.expiryWatcher.Stop()
|
||||
|
||||
close(i.quit)
|
||||
|
Reference in New Issue
Block a user