Skip to content

Commit

Permalink
Fix false-alarm timeout exception when waiting for key exchange to co…
Browse files Browse the repository at this point in the history
…mplete (#912)

Co-authored-by: Jeroen van Erp <[email protected]>
  • Loading branch information
rasantel and hierynomus authored Apr 18, 2024
1 parent cf340c2 commit 079cb08
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 079cb08

Please sign in to comment.