summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs')
-rw-r--r--win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs b/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs
index ffbbae5c0..9cb6707f9 100644
--- a/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs
+++ b/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs
@@ -33,7 +33,7 @@ namespace HandBrakeWPF.Services
/// <summary>
/// The handbrake instance.
/// </summary>
- public static readonly IHandBrakeInstance HandbrakeInstance = new HandBrakeInstance();
+ public static IHandBrakeInstance HandbrakeInstance;
/// <summary>
/// The scan service.
@@ -67,6 +67,7 @@ namespace HandBrakeWPF.Services
}
else
{
+ HandbrakeInstance = new HandBrakeInstance();
this.scanService = new LibScan(userSettingService, HandbrakeInstance);
}
}