diff --git a/src/DynamoCoreWpf/Views/SplashScreen/SplashScreen.xaml.cs b/src/DynamoCoreWpf/Views/SplashScreen/SplashScreen.xaml.cs index cac5c3cfb0b..2a56843cc30 100644 --- a/src/DynamoCoreWpf/Views/SplashScreen/SplashScreen.xaml.cs +++ b/src/DynamoCoreWpf/Views/SplashScreen/SplashScreen.xaml.cs @@ -484,7 +484,7 @@ internal void CloseWindow() if (string.IsNullOrEmpty(hostAnalyticsInfo.HostName)) { - Application.Current.Shutdown(); + Application.Current?.Shutdown(); Analytics.TrackEvent(Actions.Close, Categories.SplashScreenOperations); } // If Dynamo is launched from an integrator host, user should be able to close the splash screen window.