Merge pull request #8497 from ziggie1984/shutdown-bugfix
routing: shutdown chanrouter correctly.
This commit is contained in:
14 files changed
+230
-83
No files matched your search
@@ -884,7 +884,9 @@ func (w *WebAPIEstimator) Stop() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
w.updateFeeTicker.Stop()
|
||||
if w.updateFeeTicker != nil {
|
||||
w.updateFeeTicker.Stop()
|
||||
}
|
||||
|
||||
close(w.quit)
|
||||
w.wg.Wait()
|
||||
|
||||
Reference in new issue
Block a user