summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Services')
-rw-r--r--win/CS/HandBrakeWPF/Services/Scan/LibScan.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs b/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs
index fdeb88b2d..eac84f263 100644
--- a/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs
+++ b/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs
@@ -144,8 +144,7 @@ namespace HandBrakeWPF.Services.Scan
{
this.ServiceLogMessage("Stopping Scan ...");
this.IsScanning = false;
- this.instance.StopScan();
- this.ServiceLogMessage("Scan Stopped ...");
+ this.instance.StopScan();
}
catch (Exception exc)
{
@@ -154,6 +153,7 @@ namespace HandBrakeWPF.Services.Scan
finally
{
this.ScanCompleted?.Invoke(this, new ScanCompletedEventArgs(this.isCancelled, null, null, null));
+ this.ServiceLogMessage("Scan Stopped ...");
}
}