multi: add shutdown logs in subservers
This commit adds a simple shutdown to every subserver to assist debugging.
This commit is contained in:
15 files changed
+24
-6
No files matched your search
@@ -97,6 +97,7 @@ func (c *ChannelNotifier) Start() error {
|
||||
func (c *ChannelNotifier) Stop() error {
|
||||
var err error
|
||||
c.stopped.Do(func() {
|
||||
log.Info("ChannelNotifier shutting down")
|
||||
err = c.ntfnServer.Stop()
|
||||
})
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user