lnd: stop graphBuilder during shutdown

This commit is contained in:
yyforyongyu committed 2024-11-21 15:37:49 +08:00
1 parent a4195fa2ce
commit 57084804d4
1 file changed
+3
+3
View File
@@ -2481,6 +2481,9 @@ func (s *server) Stop() error {
if err := s.chanRouter.Stop(); err != nil {
srvrLog.Warnf("failed to stop chanRouter: %v", err)
}
if err := s.graphBuilder.Stop(); err != nil {
srvrLog.Warnf("failed to stop graphBuilder %v", err)
}
if err := s.chainArb.Stop(); err != nil {
srvrLog.Warnf("failed to stop chainArb: %v", err)
}