diff --git a/server.go b/server.go index 8ba7fcc0e6..d4f24eee22 100644 --- a/server.go +++ b/server.go @@ -2559,6 +2559,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) }