Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dfawley committed Dec 5, 2023
1 parent 8918856 commit e920eaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions balancer_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ func (ccb *ccBalancerWrapper) buildLoadBalancingPolicy(name string) {
ccb.curBalancerName = builder.Name()
}

// close initiates async shutdown of the wrapper. To determine the wrapper has
// finished shutting down, the channel should block on ccb.serializer.Done()
// without cc.mu held.
// close initiates async shutdown of the wrapper. cc.mu must be held when
// calling this function. To determine the wrapper has finished shutting down,
// the channel should block on ccb.serializer.Done() without cc.mu held.
func (ccb *ccBalancerWrapper) close() {
ccb.mu.Lock()
ccb.closed = true
Expand Down

0 comments on commit e920eaf

Please sign in to comment.