InstanceConfig should be used at most once

This commit is contained in:
leventov
2014-11-10 16:14:17 +03:00
parent 878a19479e
commit 780a6ae2ee
3 changed files with 21 additions and 4 deletions
@@ -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]);