Skip to content

Commit d928878

Browse files
committed
avalonia: actually setup Avalonia before starting
In removing the Avalonia setup workaround in #1445 we forget to replace the SetupWithLifetime call with just SetupWithoutStarting!
1 parent 59f01d9 commit d928878

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)