diff options
| author | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-04 21:13:32 -0400 |
|---|---|---|
| committer | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-04 21:13:32 -0400 |
| commit | b50a15aaf425f8852568f6d324a92a24f82b46d2 (patch) | |
| tree | fa367f9177afc0c339a14c044f373951dc5b794a /MediaBrowser.ServerApplication/MainWindow.xaml.cs | |
| parent | aba42c3c615841c8cd0b90588662b1587510873e (diff) | |
Moved kernel dispose to application.onexit
Diffstat (limited to 'MediaBrowser.ServerApplication/MainWindow.xaml.cs')
| -rw-r--r-- | MediaBrowser.ServerApplication/MainWindow.xaml.cs | 9 |
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
|
