mirror of https://github.com/apache/activemq.git
close DataByteArrayOutputStream buff of WriteBatch
This commit is contained in:
parent
5bd2abf85d
commit
0262338687
|
@ -195,6 +195,9 @@ class CallerBufferingDataFileAppender extends DataFileAppender {
|
|||
}
|
||||
dataFile.closeRandomAccessFile(file);
|
||||
}
|
||||
if (wb != null && wb.buff != null) {
|
||||
wb.buff.close();
|
||||
}
|
||||
} catch (Throwable ignore) {
|
||||
}
|
||||
shutdownDone.countDown();
|
||||
|
|
Loading…
Reference in New Issue