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
  • Loading branch information
rasantel committed Nov 10, 2023
1 parent b7dc869 commit b9581e1
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 b9581e1

Please sign in to comment.