This commit is contained in:
Clebert Suconic 2017-10-25 10:02:13 -04:00
commit 6407580b66
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ public class ProtocolHandler {
return;
}
if (handshakeTimeout > 0) {
if (handshakeTimeout > 0 && timeoutFuture != null) {
timeoutFuture.cancel(true);
timeoutFuture = null;
}