summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-04-29 17:46:38 +0000
committersr55 <[email protected]>2013-04-29 17:46:38 +0000
commite8397ded17ad3fa272333a8fd76061e863a45730 (patch)
tree88190c682e106266efb0e3cfe5f105c1f74463cf /win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs
parentdbb20ebe94d7fe1e78d59261239354cff839c584 (diff)
WinGui: Fix Lock System action and hide the quit handbrake option from when done actions. Quit will return after the release. Won't fix now due to required re factoring work to fix it.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5425 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs b/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs
index a442dc5ce..033042495 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs
@@ -514,7 +514,7 @@ namespace HandBrake.ApplicationServices.Services
Win32.LockWorkStation();
break;
case "Quit HandBrake":
- Application.Exit();
+ Execute.OnUIThread(() => { Application.Current.Shutdown(); });
break;
}
}