diff options
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/QueueManager.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/QueueManager.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/QueueManager.cs b/win/CS/HandBrake.ApplicationServices/Services/QueueManager.cs index 452f47365..abe684a17 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/QueueManager.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/QueueManager.cs @@ -54,7 +54,7 @@ namespace HandBrake.ApplicationServices.Services /// <summary>
/// HandBrakes Queue file with a place holder for an extra string.
/// </summary>
- private readonly string queueFile;
+ private string queueFile;
#endregion
@@ -408,6 +408,14 @@ namespace HandBrake.ApplicationServices.Services return false;
}
+ /// <summary>
+ /// Temp workaround until this can be fixed properly.
+ /// </summary>
+ public void ResetInstanceId()
+ {
+ this.queueFile = string.Format("hb_queue_recovery{0}.xml", GeneralUtilities.GetInstanceCount);
+ }
+
#endregion
}
}
|