for (int i = 0; i < this.resourceInstTable.length; i++) { if (this.resourceInstTable[i] != null) { if (this.resourceInstTable[i].close()) { this.resourceInstTable[i] = null; } else {
protected void makeInactive() { this.active = false; lastTSidx = archive.getTimeStamps().getSize() - 1; close(); // this frees up unused memory now that no more samples }