Skip to content

Commit aac47a4

Browse files
authored
fix: make UiApplication instance thread-static instead of static (lepoco#1553)
1 parent 636666d commit aac47a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Wpf.Ui/UiApplication.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ namespace Wpf.Ui;
1010
/// </summary>
1111
public class UiApplication
1212
{
13+
[ThreadStatic]
1314
private static UiApplication? _uiApplication;
1415

1516
private readonly Application? _application;

0 commit comments

Comments
 (0)