aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs')
-rw-r--r--MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs b/MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs
index 28eded0b9..934ff284b 100644
--- a/MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs
+++ b/MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs
@@ -83,7 +83,7 @@ namespace MediaBrowser.Uninstaller.Execute
{
using (var client = new WebClient())
{
- lblHeading.Content = "Shutting Down Server...";
+ lblHeading.Content = "Shutting Down Media Browser Server...";
try
{
client.UploadString("http://localhost:8096/mediabrowser/system/shutdown", "");
@@ -104,9 +104,10 @@ namespace MediaBrowser.Uninstaller.Execute
var processes = Process.GetProcessesByName("mediabrowser.ui");
if (processes.Length > 0)
{
+ lblHeading.Content = "Shutting Down Media Browser Theater...";
try
{
- processes[0].CloseMainWindow();
+ processes[0].Kill();
}
catch (Exception ex)
{