diff options
author | sr55 <[email protected]> | 2019-04-08 20:45:30 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2019-04-08 20:45:30 +0100 |
commit | 5c1e6442015619e9d2ca53d8868007d3550d3cd4 (patch) | |
tree | b077411db1eafb5a154a2665bfe41aae289be6d9 | |
parent | 991d7e40952db864f331ef181e1e468272c45644 (diff) |
WinGui: Fix Race Condition crash when cancelling scan.
-rw-r--r-- | win/CS/HandBrake.Interop/Interop/HandBrakeInstance.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win/CS/HandBrake.Interop/Interop/HandBrakeInstance.cs b/win/CS/HandBrake.Interop/Interop/HandBrakeInstance.cs index bf7e3ce30..139a62e8d 100644 --- a/win/CS/HandBrake.Interop/Interop/HandBrakeInstance.cs +++ b/win/CS/HandBrake.Interop/Interop/HandBrakeInstance.cs @@ -169,6 +169,7 @@ namespace HandBrake.Interop.Interop [HandleProcessCorruptedStateExceptions] public void StopScan() { + this.scanPollTimer.Stop(); HBFunctions.hb_scan_stop(this.Handle); } |