mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
ensure that we close() on interupt
Conflicts: src/test/java/net/openhft/chronicle/map/CHMUseCasesTest.java
This commit is contained in:
@@ -263,7 +263,9 @@ public final class TcpReplicator<K, V> extends AbstractChannelReplicator impleme
|
||||
LOG.debug("onWrite - " + name);
|
||||
onWrite(key, approxTime);
|
||||
}
|
||||
} catch (BufferUnderflowException | InterruptedException | IOException |
|
||||
} catch (InterruptedException e) {
|
||||
quietClose(key, e);
|
||||
} catch (BufferUnderflowException | IOException |
|
||||
ClosedSelectorException | CancelledKeyException e) {
|
||||
if (!isClosed)
|
||||
quietClose(key, e);
|
||||
|
||||
Reference in New Issue
Block a user