The Free Software Media System - Server Backend & API
Comments
LukePulverenti Luke Pulverenti luke pulverenti03c952300129
diff --git a/MediaBrowser.Common/UI/BaseApplication.cs b/MediaBrowser.Common/UI/BaseApplication.csindex a6bc7f7e49..6285ca7ae3 100644--- a/MediaBrowser.Common/UI/BaseApplication.cs+++ b/MediaBrowser.Common/UI/BaseApplication.cs@@ -16,6 +16,7 @@ namespace MediaBrowser.Common.UIprotected async override void OnStartup(StartupEventArgs e){+ // Without this the app will shutdown after the splash screen closesthis.ShutdownMode = ShutdownMode.OnExplicitShutdown;await LoadKernel();@@ -48,6 +49,8 @@ namespace MediaBrowser.Common.UI{MessageBox.Show("There was an error launching Media Browser: " + ex.Message);splash.Close();++ // Shutdown the app with an error codeShutdown(1);}}