mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-15 08:36:38 +01: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