although holding on to memories can be fun, it's bound to hurt performance.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3355 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
c81b910f73
commit
6839c194cb
|
|
@ -163,7 +163,7 @@ class WindowedData {
|
|||
public void close() {
|
||||
if (states == null) return;
|
||||
for (RMDDataState state : states)
|
||||
if (state.iterator instanceof FlashBackIterator) state.dataSource.close((FlashBackIterator) state.iterator);
|
||||
state.dataSource.close( state.iterator );
|
||||
|
||||
// Clear out the existing data so that post-close() accesses to this data will fail-fast.
|
||||
states = null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue