Skip to content

Commit 99ed3c4

Browse files
committed
fix: close order inside-out
1 parent 2ca224a commit 99ed3c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/janelia/saalfeldlab/n5/BufferedKvaLockedChannel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public InputStream newInputStream() throws N5Exception.N5IOException {
3030
return new ProxyInputStream(volatileReadData.inputStream()) {
3131
@Override
3232
public void close() throws IOException {
33-
volatileReadData.close();
3433
super.close();
34+
volatileReadData.close();
3535
}
3636
};
3737
}

0 commit comments

Comments
 (0)