Skip to content

Commit 425c6e5

Browse files
authored
Fix splashscreen close test (#14566)
* Fix PostDiff job * Update SplashScreen.xaml.cs
1 parent d6b1f39 commit 425c6e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DynamoCoreWpf/Views/SplashScreen/SplashScreen.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ internal void CloseWindow()
484484

485485
if (string.IsNullOrEmpty(hostAnalyticsInfo.HostName))
486486
{
487-
Application.Current.Shutdown();
487+
Application.Current?.Shutdown();
488488
Analytics.TrackEvent(Actions.Close, Categories.SplashScreenOperations);
489489
}
490490
// If Dynamo is launched from an integrator host, user should be able to close the splash screen window.

0 commit comments

Comments
 (0)