The go routine that logs gossip summaries does not exit when gossip is toggled off, but a new one is created every time Gossip is toggled back on. This PR cancels the go routine when gossip is toggled off so that only one copy of the routine is running at a time.
Brief description
The go routine that logs gossip summaries does not exit when gossip is toggled off, but a new one is created every time Gossip is toggled back on. This PR cancels the go routine when gossip is toggled off so that only one copy of the routine is running at a time.
Checklist
Demonstration