mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 07:10:53 +03:00
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:
@@ -104,7 +104,8 @@ public class Promise<V, T extends Throwable> {
|
||||
lock.lock();
|
||||
try {
|
||||
pendingEx = null;
|
||||
deliver(null);
|
||||
log.debug("Clearing <<{}>>", name);
|
||||
val = null;
|
||||
} finally {
|
||||
lock.unlock();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user