mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-28 03:52:35 +00:00
control/controlclient: clarify a comment
This commit is contained in:
parent
90c8519765
commit
c348fb554f
@ -182,7 +182,8 @@ func (c *Client) SetPaused(paused bool) {
|
|||||||
}
|
}
|
||||||
c.paused = paused
|
c.paused = paused
|
||||||
if 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()
|
c.cancelMapLocked()
|
||||||
} else {
|
} else {
|
||||||
for _, ch := range c.unpauseWaiters {
|
for _, ch := range c.unpauseWaiters {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user