multi: add debug logs to catch slow shutdown
This commit is contained in:
1 parent
ba007d9373
commit
66b8700c0b
24 files changed
+59
-23
No files matched your search
+3
-1
@@ -754,7 +754,9 @@ func (f *Manager) start() error {
|
||||
// method will block until all goroutines have exited.
|
||||
func (f *Manager) Stop() error {
|
||||
f.stopped.Do(func() {
|
||||
log.Info("Funding manager shutting down")
|
||||
log.Info("Funding manager shutting down...")
|
||||
defer log.Debug("Funding manager shutdown complete")
|
||||
|
||||
close(f.quit)
|
||||
f.wg.Wait()
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user