summaryrefslogtreecommitdiffstats
path: root/win/CS/Functions/Main.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/Functions/Main.cs')
-rw-r--r--win/CS/Functions/Main.cs7
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;