mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-22 22:45:21 +01:00
Fix negation bug
This commit is contained in:
parent
a363f1545d
commit
2ca5fdc475
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ public class ThreadGate {
|
|||
public synchronized void await() {
|
||||
while (lock.getCount() > 0)
|
||||
try {
|
||||
if (lock.await(lock.getCount(), TimeUnit.MINUTES)) {
|
||||
if (!lock.await(lock.getCount(), TimeUnit.MINUTES)) {
|
||||
log.warn("timeout occured!");
|
||||
break; // break the loop
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue