Skip to content

Commit 700ca74

Browse files
authored
xds/balancer/priority: Unlock mutex before returning (#7417)
1 parent d27ddb5 commit 700ca74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xds/internal/balancer/priority/balancer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ func (b *priorityBalancer) run() {
270270
// deadlock.
271271
b.mu.Lock()
272272
if b.done.HasFired() {
273+
b.mu.Unlock()
273274
return
274275
}
275276
switch s := u.(type) {

0 commit comments

Comments
 (0)