diff --git a/artemis-journal/src/main/java/org/apache/activemq/artemis/core/io/aio/AIOSequentialFile.java b/artemis-journal/src/main/java/org/apache/activemq/artemis/core/io/aio/AIOSequentialFile.java index 5ef033be0f..8e355874be 100644 --- a/artemis-journal/src/main/java/org/apache/activemq/artemis/core/io/aio/AIOSequentialFile.java +++ b/artemis-journal/src/main/java/org/apache/activemq/artemis/core/io/aio/AIOSequentialFile.java @@ -111,7 +111,7 @@ public class AIOSequentialFile extends AbstractSequentialFile { @Override public void close() throws IOException, InterruptedException, ActiveMQException { - close(true, false); + close(true, true); } private void actualClose() {