internal virtual void DeleteGVob() { // we are finished with this gothic object, decrease the reference counter int refCtr = gvob.refCtr - 1; gvob.refCtr = refCtr; // Free the gothic object if no references are left, otherwise gothic should free it if (refCtr <= 0) { gvob.Dispose(); } gvob = null; }
public void Dispose() { renderVob?.Dispose(); renderVob = null; }