Fix false-alarm timeout exception when waiting for key exchange to complete (#912)

Co-authored-by: Jeroen van Erp <jeroen@hierynomus.com>
This commit is contained in:
Raul Santelices
2024-04-18 03:22:07 -04:00
committed by GitHub
parent cf340c2a09
commit 079cb08fb0

View File

@@ -104,7 +104,8 @@ public class Promise<V, T extends Throwable> {
lock.lock(); lock.lock();
try { try {
pendingEx = null; pendingEx = null;
deliver(null); log.debug("Clearing <<{}>>", name);
val = null;
} finally { } finally {
lock.unlock(); lock.unlock();
} }