Don't signal when lowering number of waiting routines
Signal is not needed as we never need to wake up when the waiting is lowered, only when increased.
This commit is contained in:
@@ -125,5 +125,4 @@ func (pr *conditionalProgressRequester) Remove() {
|
||||
pr.mux.Lock()
|
||||
defer pr.mux.Unlock()
|
||||
pr.waiting -= 1
|
||||
pr.cond.Signal()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user