@Override public void close() { if (image != null) { image.close(); image = null; } }
public void close() { this.isClose = true; if (displayList != null) { displayList.close(); displayList = null; } if (displays != null) { for (Display d : displays.values()) { if (d != null && d.cache != null) { d.cache.close(); d.cache = null; } } displays.clear(); displays = null; } }
public void clear() { if (image != null) { image.close(); image = null; } }