Add thread name in DxgiConnection (#20505)

The thread name in WinUiCompositorConnection is DwmRenderTimerLoop
This commit is contained in:
lindexi
2026-01-20 22:16:34 +08:00
committed by GitHub
parent ac37bd6353
commit 3b3a5d2b76
@@ -168,6 +168,7 @@ namespace Avalonia.Win32.DirectX
});
thread.IsBackground = true;
thread.SetApartmentState(System.Threading.ApartmentState.STA);
thread.Name = "DxgiRenderTimerLoop";
thread.Start();
// block until
return tcs.Task.Result;