multi: make sure missionControlStore catches done signal

This commit makes sure `missionControlStore` catches the shutdown signal
when draining the ticker. A few debug logs are added to aid the process.
This commit is contained in:
yyforyongyu committed 2024-07-23 21:30:08 +08:00
1 parent 50279464ad
commit 2608c0893e
6 files changed
+25 -10

No files matched your search

+2 -2
View File
@@ -750,8 +750,8 @@ func (d *AuthenticatedGossiper) Stop() error {
}
func (d *AuthenticatedGossiper) stop() {
log.Info("Authenticated Gossiper is stopping")
defer log.Info("Authenticated Gossiper stopped")
log.Debug("Authenticated Gossiper is stopping")
defer log.Debug("Authenticated Gossiper stopped")
d.blockEpochs.Cancel()