Skip to content

Commit 4ea8402

Browse files
committed
removeCloseListener causes 78 tests to fail
1 parent a19ceca commit 4ea8402

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/main/java/net/openhft/chronicle/queue/impl/single/StoreAppender.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,7 @@ public void writeBytes(@NotNull final WriteBytesMarshallable marshallable) {
209209

210210
@Override
211211
protected void performClose() {
212-
queue.removeCloseListener(this);
213-
212+
// queue.removeCloseListener(this);
214213
releaseBytesFor(wireForIndex);
215214
releaseBytesFor(wire);
216215
releaseBytesFor(bufferWire);

src/main/java/net/openhft/chronicle/queue/impl/single/StoreTailer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public DocumentContext readingDocument() {
156156

157157
@Override
158158
protected void performClose() {
159-
queue.removeCloseListener((java.io.Closeable) this);
159+
// queue.removeCloseListener((java.io.Closeable) this);
160160
Closeable.closeQuietly(indexValue);
161161
// the wire ref count will be released here by setting it to null
162162
context.wire(null);

0 commit comments

Comments
 (0)