]> granicus.if.org Git - handbrake/commitdiff
WinGui: Fix Race Condition crash when cancelling scan.
authorsr55 <sr55.hb@outlook.com>
Mon, 8 Apr 2019 19:45:30 +0000 (20:45 +0100)
committersr55 <sr55.hb@outlook.com>
Mon, 8 Apr 2019 19:45:30 +0000 (20:45 +0100)
win/CS/HandBrake.Interop/Interop/HandBrakeInstance.cs

index bf7e3ce307e40a2e3c69cd3977349a0a59f18b16..139a62e8d52ab791c5ea2a2c20025056e2359590 100644 (file)
@@ -169,6 +169,7 @@ namespace HandBrake.Interop.Interop
         [HandleProcessCorruptedStateExceptions]
         public void StopScan()
         {
+            this.scanPollTimer.Stop();
             HBFunctions.hb_scan_stop(this.Handle);
         }