mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
close btree in finally block
This commit is contained in:
@@ -143,8 +143,12 @@ public class PersistentBTreeEnumerator<Data> extends PersistentEnumeratorBase<Da
|
||||
|
||||
@Override
|
||||
protected void doClose() throws IOException {
|
||||
super.doClose();
|
||||
btree.doClose();
|
||||
try {
|
||||
super.doClose();
|
||||
}
|
||||
finally {
|
||||
btree.doClose();
|
||||
}
|
||||
}
|
||||
|
||||
private int allocPage() {
|
||||
|
||||
Reference in New Issue
Block a user