Tiny code cleanup
This commit is contained in:
parent
5f1dd20d74
commit
a91f3e4acf
@ -183,11 +183,9 @@ class HttpTunnelingChannelHandler extends SimpleChannelHandler {
|
||||
try {
|
||||
connected = false;
|
||||
reconnectCondition.await(reconnectTimeoutMillis, TimeUnit.MILLISECONDS);
|
||||
}
|
||||
catch (InterruptedException e) {
|
||||
return connected;
|
||||
}
|
||||
finally {
|
||||
} catch (InterruptedException e) {
|
||||
// return with current state.
|
||||
} finally {
|
||||
reconnectLock.unlock();
|
||||
}
|
||||
return connected;
|
||||
|
Loading…
Reference in New Issue
Block a user