Skip to content

Commit

Permalink
DLPX-88676 SSHJ - Fix false-alarm timeout exception when waiting for …
Browse files Browse the repository at this point in the history
…key exchange to complete
  • Loading branch information
VenkatanadhanG committed Jan 25, 2024
1 parent 067917e commit 3a7736c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/net/schmizz/concurrent/Promise.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ public void clear() {
lock.lock();
try {
pendingEx = null;
deliver(null);
log.debug("Clearing <<{}>>", name);
val = null;
} finally {
lock.unlock();
}
Expand Down

0 comments on commit 3a7736c

Please sign in to comment.