/** Close this graph; if it is now fully closed, destroy its resources and run the GraphBase close. */ @Override public void close() { if (--count == 0) { destroy(); super.close(); } }
/** * Free all resources, any further use of this Graph is an error. */ @Override public void close() { if (!closed) { fdata.getGraph().close(); fdata = null; super.close(); } }