aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ServerApplication/MainWindow.xaml.cs
diff options
context:
space:
mode:
authorLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-08-04 21:13:32 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-08-04 21:13:32 -0400
commitb50a15aaf425f8852568f6d324a92a24f82b46d2 (patch)
treefa367f9177afc0c339a14c044f373951dc5b794a /MediaBrowser.ServerApplication/MainWindow.xaml.cs
parentaba42c3c615841c8cd0b90588662b1587510873e (diff)
Moved kernel dispose to application.onexit
Diffstat (limited to 'MediaBrowser.ServerApplication/MainWindow.xaml.cs')
-rw-r--r--MediaBrowser.ServerApplication/MainWindow.xaml.cs9
1 files changed, 0 insertions, 9 deletions
diff --git a/MediaBrowser.ServerApplication/MainWindow.xaml.cs b/MediaBrowser.ServerApplication/MainWindow.xaml.cs
index 688ce19d5..02a6d1be3 100644
--- a/MediaBrowser.ServerApplication/MainWindow.xaml.cs
+++ b/MediaBrowser.ServerApplication/MainWindow.xaml.cs
@@ -38,15 +38,11 @@ namespace MediaBrowser.ServerApplication
try
{
- DateTime now = DateTime.Now;
-
splash.Show();
kernel = new Kernel();
kernel.Init(progress);
-
- var time = DateTime.Now - now;
}
catch
{
@@ -64,11 +60,6 @@ namespace MediaBrowser.ServerApplication
// Don't show the system tray icon until the app has loaded.
this.MbTaskbarIcon.Visibility = System.Windows.Visibility.Visible;
}
-
- private void MainWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
- {
- kernel.Dispose();
- }
#endregion