Skip to content

Commit

Permalink
xds/balancer/priority: Unlock mutex before returning (#7417)
Browse files Browse the repository at this point in the history
  • Loading branch information
arjan-bal authored Jul 15, 2024
1 parent d27ddb5 commit 700ca74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xds/internal/balancer/priority/balancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ func (b *priorityBalancer) run() {
// deadlock.
b.mu.Lock()
if b.done.HasFired() {
b.mu.Unlock()
return
}
switch s := u.(type) {
Expand Down

0 comments on commit 700ca74

Please sign in to comment.