diff options
author | sr55 <[email protected]> | 2009-11-28 23:45:51 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-11-28 23:45:51 +0000 |
commit | 8f4c571f85b17d0de124836426f892c72b1dc3cd (patch) | |
tree | c582a70bb710ea647fc14b9688e06c9262a3346b /win/C#/frmMain.cs | |
parent | 115d524e223a0806b26027b5ed508c4d29081ed7 (diff) |
WinGui:
- Cleanly close the ActivityWindow so that HandBrake.exe does not remain active after the main application window has been closed.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2990 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r-- | win/C#/frmMain.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index d74d8ef08..58ad36061 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -800,7 +800,7 @@ namespace Handbrake }
private void btn_ActivityWindow_Click(object sender, EventArgs e)
{
- if (ActivityWindow == null)
+ if (ActivityWindow == null || !ActivityWindow.IsHandleCreated)
ActivityWindow = new frmActivityWindow();
if (encodeQueue.isEncoding)
|