diff options
author | sr55 <[email protected]> | 2012-02-11 20:43:57 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-02-11 20:43:57 +0000 |
commit | 1d504d557ecc008e3f7924df4181f07b793448fc (patch) | |
tree | 8cb294b663838aaa56ac40bf3c2a567f461dc521 | |
parent | 46808404eaf53aba1cb754bac733dce43bf4158c (diff) |
WinGui: Don't cleanup queue files in multi-instance mode.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4444 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | win/CS/Functions/Main.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/win/CS/Functions/Main.cs b/win/CS/Functions/Main.cs index 4de00af90..9411fc151 100644 --- a/win/CS/Functions/Main.cs +++ b/win/CS/Functions/Main.cs @@ -423,9 +423,12 @@ namespace Handbrake.Functions }
// Cleanup old/unused queue files for now.
- foreach (string file in removeFiles)
+ if (!GeneralUtilities.IsMultiInstance)
{
- File.Delete(file);
+ foreach (string file in removeFiles)
+ {
+ File.Delete(file);
+ }
}
return queueFiles;
|