Skip to content

Commit

Permalink
Revert "Add Count property to DisposableCollection"
Browse files Browse the repository at this point in the history
This reverts commit b510819.
  • Loading branch information
Exanite committed Jan 14, 2025
1 parent b510819 commit ed24f1c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Runtime/DisposableCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ public class DisposableCollection : IDisposable
// This is to avoid allocations while keeping things simple
private readonly Stack<object> stack = new();

public int Count => stack.Count;

/// <summary>
/// Adds a disposable object for disposal.
/// </summary>
Expand Down

0 comments on commit ed24f1c

Please sign in to comment.