fix: Prepares for IPooledEnumerable removal (#1548)

### Summary

- Removes `IPooledEnumerable` (non-generic)
- Changes `IPooledEnumerable<T>` so that  `Free()` is replaced with the `IDisposable` pattern
This commit is contained in:
Kamron Batman 2023-10-15 11:20:49 -07:00 • committed by GitHub
parent c2d6578955
commit d57f1fecc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
92 changed files with 644 additions and 907 deletions

View file

@ -1526,8 +1526,6 @@ namespace Server.Multis
newComponents.Tiles[x][y].Length == 0 || Contains(item);
}
);
eable.Free();
return canFit;
}
@ -1905,7 +1903,7 @@ namespace Server.Multis
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void Dispose()
{
_entities?.Free();
_entities?.Dispose();
_enumerator?.Dispose();
}