From 029c9b1db2fbf86fc8ded15580cd8023e4b180fc Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 13 Oct 2012 19:48:12 +0000 Subject: 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 --- win/CS/HandBrake.ApplicationServices/Services/ScanService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/CS/HandBrake.ApplicationServices/Services/ScanService.cs') 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)) { -- cgit v1.2.3