public void Dispose() { if (mtx != null) { mtx.Dispose(); } } }
protected virtual void Dispose(bool disposing) { if (disposing) { if (stats != null) { stats.Dispose(); } if (includeCache != null) { includeCache.Dispose(); } if (outputCache != null) { outputCache.Dispose(); } } }