Skip to content

Commit 079cb08

Browse files
rasantelhierynomus
andauthored
Fix false-alarm timeout exception when waiting for key exchange to complete (#912)
Co-authored-by: Jeroen van Erp <[email protected]>
1 parent cf340c2 commit 079cb08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/net/schmizz/concurrent/Promise.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ public void clear() {
104104
lock.lock();
105105
try {
106106
pendingEx = null;
107-
deliver(null);
107+
log.debug("Clearing <<{}>>", name);
108+
val = null;
108109
} finally {
109110
lock.unlock();
110111
}

0 commit comments

Comments
 (0)