mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Fix a bug in ChannelProvider.ChronicleChannel.close(), props to @maxime-leur #51
This commit is contained in:
@@ -607,7 +607,7 @@ public final class ChannelProvider implements Closeable {
|
||||
int removedPos = chronicleChannelPositionsInList[chronicleChannel];
|
||||
if (removedPos == -1)
|
||||
return;
|
||||
chronicleChannelPositionsInList[removedPos] = -1;
|
||||
chronicleChannelPositionsInList[chronicleChannel] = -1;
|
||||
chronicleChannelList.remove(removedPos);
|
||||
chronicleChannelIds.remove(removedPos);
|
||||
for (int i = 0, len = chronicleChannelIds.size(); i < len; i++) {
|
||||
|
||||
Reference in New Issue
Block a user