From c348fb554f65aa7d83db0c04ccb4cf777af98304 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 21 Dec 2020 08:33:05 -0800 Subject: [PATCH] control/controlclient: clarify a comment --- control/controlclient/auto.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/control/controlclient/auto.go b/control/controlclient/auto.go index b35df9d5b..084299ae0 100644 --- a/control/controlclient/auto.go +++ b/control/controlclient/auto.go @@ -182,7 +182,8 @@ func (c *Client) SetPaused(paused bool) { } c.paused = paused if paused { - // Just cancel the map routine. The auth routine isn't expensive. + // Only cancel the map routine. (The auth routine isn't expensive + // so it's fine to keep it running.) c.cancelMapLocked() } else { for _, ch := range c.unpauseWaiters {