Add thread name in DxgiConnection (#20505)
The thread name in WinUiCompositorConnection is DwmRenderTimerLoop
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user