summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-10-13 19:48:12 +0000
committersr55 <[email protected]>2012-10-13 19:48:12 +0000
commit029c9b1db2fbf86fc8ded15580cd8023e4b180fc (patch)
tree227743486b489e989f0b1c67234ebefa4316b10c /win/CS/HandBrake.ApplicationServices/Services/ScanService.cs
parent2a18d05b52ea084b4bb968f3622872a8a08d83fa (diff)
WinGui: Refactor multi-instance support to use Process ID. Fix old log file cleanup function.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5016 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/ScanService.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/ScanService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs b/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs
index bb4ec44c6..e7c7a2852 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs
@@ -246,7 +246,7 @@ namespace HandBrake.ApplicationServices.Services
"\\HandBrake\\logs";
string dvdInfoPath = Path.Combine(
logDir,
- string.Format("last_scan_log{0}.txt", GeneralUtilities.GetInstanceCount));
+ string.Format("last_scan_log{0}.txt", GeneralUtilities.ProcessId));
if (!Directory.Exists(logDir))
{