aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ServerApplication
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-05-23 18:01:13 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-05-23 18:01:13 -0400
commitfb48dd34870d5ef8d1d636d83af5132e26b99449 (patch)
tree9e7255544f2ada5494ac4c20b6bd54d72ad47038 /MediaBrowser.ServerApplication
parentd0c9273d679cfec73c10e6f863c5cf9012a3aa2f (diff)
support mono restarts
Diffstat (limited to 'MediaBrowser.ServerApplication')
-rw-r--r--MediaBrowser.ServerApplication/MainStartup.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.cs
index f918fc37c..968172bc3 100644
--- a/MediaBrowser.ServerApplication/MainStartup.cs
+++ b/MediaBrowser.ServerApplication/MainStartup.cs
@@ -516,11 +516,11 @@ namespace MediaBrowser.ServerApplication
_logger.Info("Hiding server notify icon");
_serverNotifyIcon.Visible = false;
- _logger.Info("Executing windows forms restart");
+ _logger.Info("Starting new instance");
//Application.Restart();
Process.Start(_appHost.ServerConfigurationManager.ApplicationPaths.ApplicationPath);
- _logger.Info("Calling Application.Exit");
+ _logger.Info("Calling Environment.Exit");
Environment.Exit(0);
}
}