mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
InstanceConfig should be used at most once
This commit is contained in:
@@ -501,8 +501,6 @@ final class ChannelProvider implements Closeable {
|
||||
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
// synchronized on parent instance to prevent possible (but very unlikely) contention
|
||||
// between close() calls on different channels
|
||||
channelDataLock.writeLock().lock();
|
||||
try {
|
||||
chronicleChannelList.remove(chronicleChannels[chronicleChannel]);
|
||||
|
||||
Reference in New Issue
Block a user