Skip to content

Commit

Permalink
lnd: stop graphBuilder during shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
yyforyongyu committed Nov 21, 2024
1 parent a4195fa commit 5708480
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 5708480

Please sign in to comment.