mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-26 18:48:21 +01:00
Some minor code cleanups
This commit is contained in:
parent
016590529f
commit
670a53258e
@@ -19,7 +19,7 @@ namespace MediaBrowser.Common.UI
|
||||
protected override void OnStartup(StartupEventArgs e)
|
||||
{
|
||||
// Without this the app will shutdown after the splash screen closes
|
||||
this.ShutdownMode = ShutdownMode.OnExplicitShutdown;
|
||||
ShutdownMode = ShutdownMode.OnExplicitShutdown;
|
||||
|
||||
LoadKernel();
|
||||
}
|
||||
@@ -42,7 +42,7 @@ namespace MediaBrowser.Common.UI
|
||||
Logger.LogInfo("Kernel.Init completed in {0} seconds.", (DateTime.UtcNow - now).TotalSeconds);
|
||||
splash.Close();
|
||||
|
||||
this.ShutdownMode = System.Windows.ShutdownMode.OnLastWindowClose;
|
||||
ShutdownMode = System.Windows.ShutdownMode.OnLastWindowClose;
|
||||
InstantiateMainWindow().ShowDialog();
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user