Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
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
@@ -104,7 +104,8 @@ public void clear() {
lock.lock();
try {
pendingEx = null;
deliver(null);
log.debug("Clearing <<{}>>", name);
val = null;
} finally {
lock.unlock();
}

0 comments on commit 3a7736c

Please sign in to comment.