public void DisposePreservedStack(GraphStack stack) { stack.Dispose(); preservedStacks.Remove(stack); }