aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Uninstaller.Execute
diff options
context:
space:
mode:
authorEric Reed <ebr@mediabrowser3.com>2013-02-28 12:27:49 -0500
committerEric Reed <ebr@mediabrowser3.com>2013-02-28 12:27:49 -0500
commita34c8c7cff0b43818a14fbbee39432e4d267eeec (patch)
treefd31bfcc849af0efa1a4565f0ca757ce65a7f4b4 /MediaBrowser.Uninstaller.Execute
parentd3e6dd55350293673e8e494b3d7c4bcd6c79768d (diff)
Playing nice doesn't work - kill MBT
Diffstat (limited to 'MediaBrowser.Uninstaller.Execute')
-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 28eded0b94..934ff284bd 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)
{