Skip to content

Commit 97a217d

Browse files
authored
avalonia: actually setup Avalonia before starting (#1453)
In removing the Avalonia setup workaround in #1445 we forget to replace the SetupWithLifetime call with just SetupWithoutStarting!
2 parents 59f01d9 + d928878 commit 97a217d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/shared/Core/UI/AvaloniaUi.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ public static Task ShowWindowAsync(Func<Window> windowFunc, object dataContext,
8181
#else
8282
.UsePlatformDetect()
8383
#endif
84-
.LogToTrace();
84+
.LogToTrace()
85+
.SetupWithoutStarting();
8586

8687
appInitialized.Set();
8788

0 commit comments

Comments
 (0)