/** * Forcing the disposal of this {@link AbstractGridCoverageWriter} which may keep a reference to * an open {@link ImageOutputStream} */ @Override protected void finalize() throws Throwable { dispose(); super.finalize(); } }
@Override public void dispose() { // release any metadata metadataKeyValue.clear(); // release father super.dispose(); } }
/** * Forcing the disposal of this {@link AbstractGridCoverageWriter} which may * keep a reference to an open {@link ImageOutputStream} */ @Override protected void finalize() throws Throwable { dispose(); super.finalize(); }
/** * Forcing disposal of this {@link AbstractGridCoverage2DReader} which may * keep an {@link ImageInputStream} open. */ protected void finalize() throws Throwable { dispose(); super.finalize(); }