mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-133 don't try to close channels thrown exceptions if TCP/UDP replicator already closed
This commit is contained in:
@@ -151,7 +151,8 @@ class UdpChannelReplicator extends AbstractChannelReplicator implements Replica.
|
||||
|
||||
} catch (Exception e) {
|
||||
LOG.error("", e);
|
||||
closeEarlyAndQuietly(key.channel());
|
||||
if (!isClosed)
|
||||
closeEarlyAndQuietly(key.channel());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user