This commit is contained in:
Zach Musgrave
2023-12-06 16:35:10 -08:00
parent 99933bb5a3
commit f753dd05bc

View File

@@ -199,7 +199,7 @@ func (c *Controller) Stop() {
return
} else if c.state != controllerState_stopping {
// We should only do this transition once. We signal to |Start|
// by cloing the |stopCh|.
// by closing the |stopCh|.
close(c.stopCh)
c.state = controllerState_stopping
c.mu.Unlock()