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:
Marek Siarkowicz 2024-05-24 10:13:52 +02:00
parent 7c0e9cda46
commit e6b54149bb

View File

@ -125,5 +125,4 @@ func (pr *conditionalProgressRequester) Remove() {
pr.mux.Lock()
defer pr.mux.Unlock()
pr.waiting -= 1
pr.cond.Signal()
}