diff options
-rw-r--r-- | win/C#/HandBrake.ApplicationServices/Services/Scan.cs | 4 | ||||
-rw-r--r-- | win/C#/HandBrake10.5.1.ReSharper | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/win/C#/HandBrake.ApplicationServices/Services/Scan.cs b/win/C#/HandBrake.ApplicationServices/Services/Scan.cs index c18fad3d8..e2412cbd3 100644 --- a/win/C#/HandBrake.ApplicationServices/Services/Scan.cs +++ b/win/C#/HandBrake.ApplicationServices/Services/Scan.cs @@ -138,6 +138,8 @@ namespace HandBrake.ApplicationServices.Services {
try
{
+ this.readData.OnScanProgress -= this.OnScanProgress;
+
if (hbProc != null && !hbProc.HasExited)
hbProc.Kill();
}
@@ -201,7 +203,7 @@ namespace HandBrake.ApplicationServices.Services this.hbProc.Start();
this.readData = new Parser(this.hbProc.StandardError.BaseStream);
- this.readData.OnScanProgress += new ScanProgressEventHandler(this.OnScanProgress);
+ this.readData.OnScanProgress += this.OnScanProgress;
this.SouceData = DVD.Parse(this.readData);
// Write the Buffer out to file.
diff --git a/win/C#/HandBrake10.5.1.ReSharper b/win/C#/HandBrake10.5.1.ReSharper index 42cfee806..781e47d13 100644 --- a/win/C#/HandBrake10.5.1.ReSharper +++ b/win/C#/HandBrake10.5.1.ReSharper @@ -86,6 +86,7 @@ <Abbreviation Text="UTF" />
<Abbreviation Text="TX" />
<Abbreviation Text="SRT" />
+ <Abbreviation Text="CLI" />
</Naming2>
<CustomMemberReorderingPatterns><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<Patterns xmlns="urn:shemas-jetbrains-com:member-reordering-patterns">
|