mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 10:04:44 +01:00
support mono restarts
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user