mirror of https://github.com/grpc/grpc-go.git
xds/balancer/priority: Unlock mutex before returning (#7417)
This commit is contained in:
parent
d27ddb5eb5
commit
700ca74d01
|
@ -270,6 +270,7 @@ func (b *priorityBalancer) run() {
|
|||
// deadlock.
|
||||
b.mu.Lock()
|
||||
if b.done.HasFired() {
|
||||
b.mu.Unlock()
|
||||
return
|
||||
}
|
||||
switch s := u.(type) {
|
||||
|
|
Loading…
Reference in New Issue