Set Hashset Capacity

This commit is contained in:
glax 2024-04-15 21:50:15 +02:00
parent 99350636f0
commit 2352e868bc

View File

@ -6,7 +6,7 @@ namespace OBSBlur.Window;
public class WindowManager : IDisposable
{
public readonly HashSet<WindowInfo> Windows = new();
public readonly HashSet<WindowInfo> Windows = new(1024);
public int UpdateInterval = 10;
private bool _keepUpdating = true;
public WindowManager()