mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 13:49:53 +01:00
Fixed bug calling notifyAll instead of signalAll
This commit is contained in:
@@ -101,7 +101,7 @@ class Sender {
|
|||||||
// Don't accept an unreasonably large window size
|
// Don't accept an unreasonably large window size
|
||||||
windowSize = Math.min(a.getWindowSize(), MAX_WINDOW_SIZE);
|
windowSize = Math.min(a.getWindowSize(), MAX_WINDOW_SIZE);
|
||||||
// If space has become available, notify any waiting writers
|
// If space has become available, notify any waiting writers
|
||||||
if(windowSize > oldWindowSize || foundIndex != -1) notifyAll();
|
if(windowSize > oldWindowSize || foundIndex != -1) sendWindowAvailable.signalAll();
|
||||||
}
|
}
|
||||||
finally{
|
finally{
|
||||||
synchLock.unlock();
|
synchLock.unlock();
|
||||||
|
|||||||
Reference in New Issue
Block a user