Changeset 3997


Ignore:
Timestamp:
05/05/08 08:28:00 (12 years ago)
Author:
melissa
Message:

Make sure the corresponding NetcdfFile gets closed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/in/ImarisHDFReader.java

    r3903 r3997  
    184184    previousImage = null; 
    185185    seriesCount = 0; 
     186    channelParameters = null; 
     187    pixelSizeX = pixelSizeY = pixelSizeZ = 0; 
     188    minX = minY = minZ = maxX = maxY = maxZ = 0; 
     189 
     190    try { 
     191      r.exec("ncfile.close()"); 
     192    } 
     193    catch (ReflectException e) { 
     194      if (debug) LogTools.trace(e); 
     195    } 
    186196  } 
    187197 
Note: See TracChangeset for help on using the changeset viewer.