fix(wire): add ChannelMonitorRunner.Stop() to cleanup steps in wire_gen.go

This commit is contained in:
erio
2026-04-23 21:06:51 +08:00
parent 497872693f
commit a3ea8ecac5

View File

@@ -457,6 +457,12 @@ func provideCleanup(
} }
return nil return nil
}}, }},
{"ChannelMonitorRunner", func() error {
if channelMonitorRunner != nil {
channelMonitorRunner.Stop()
}
return nil
}},
} }
infraSteps := []cleanupStep{ infraSteps := []cleanupStep{