public void Dispose() { if (graph == null) { return; } DllImporter.igraph_destroy(graph); graph = null; GC.SuppressFinalize(this); }