/** * @see java.lang.Object#finalize() */ @Override protected void finalize() throws Throwable { super.finalize(); close(); }
/** * @see java.lang.Object#finalize() */ @Override protected void finalize() throws Throwable { super.finalize(); close(); }
if (isSnapshot) { pluginCache.remove(coordinates); try { cachedPlugin.getLoader().close(); } catch (IOException e) { e.printStackTrace(); } } else { return cachedPlugin;
try { result.getResult().getLoader().close(); } catch (IOException e) {} result = AsyncResultImpl.create(pluginCache.get(coordinates)); } else {
try { result.getResult().getLoader().close(); } catch (IOException e) {} result = AsyncResultImpl.create(pluginCache.get(coordinates)); } else {