Skip to content

Commit 5f260e3

Browse files
clear own Maps and Lists on close().
1 parent aedd372 commit 5f260e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/main/java/com/bc/fiduceo/reader/smap/SmapReader.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ public void close() throws IOException {
142142
super.close();
143143
pixelLocator = null;
144144
timeLocator = null;
145+
variableInfos.clear();
146+
variables.clear();
145147
}
146148

147149
@Override

0 commit comments

Comments
 (0)