diff options
author | sr55 <[email protected]> | 2013-01-17 21:00:25 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-01-17 21:00:25 +0000 |
commit | 6f7272a5caf858b0dd461eee74654c1e4d54500b (patch) | |
tree | 2dc091d898510151f8d783cb400ba886d3f9a76c /win/CS | |
parent | 14c8ed12f79766cc5f29addc75df97554831a924 (diff) |
WinGui: Fix Allow Sleep option.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5179 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/Win32.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/Win32.cs b/win/CS/HandBrake.ApplicationServices/Utilities/Win32.cs index acc8948a1..81d4846ec 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/Win32.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/Win32.cs @@ -168,7 +168,7 @@ namespace HandBrake.ApplicationServices.Utilities /// </summary>
public static void AllowSleep()
{
- SetThreadExecutionState(EXECUTION_STATE.ES_CONTINUOUS);
+ executor(() => SetThreadExecutionState(EXECUTION_STATE.ES_CONTINUOUS));
}
/// <summary>
|