diff options
Diffstat (limited to 'win/C#/HandBrake.ApplicationServices')
-rw-r--r-- | win/C#/HandBrake.ApplicationServices/Services/Encode.cs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/win/C#/HandBrake.ApplicationServices/Services/Encode.cs b/win/C#/HandBrake.ApplicationServices/Services/Encode.cs index 9e5d7beae..5e7527118 100644 --- a/win/C#/HandBrake.ApplicationServices/Services/Encode.cs +++ b/win/C#/HandBrake.ApplicationServices/Services/Encode.cs @@ -110,11 +110,6 @@ namespace HandBrake.ApplicationServices.Services protected Process HbProcess { get; set; }
/// <summary>
- /// Determines if the process was killed or safely closed.
- /// </summary>
- private bool processKilled;
-
- /// <summary>
/// Gets a value indicating whether IsEncoding.
/// </summary>
public bool IsEncoding { get; private set; }
@@ -339,12 +334,6 @@ namespace HandBrake.ApplicationServices.Services /// </param>
private void HbProcess_Exited(object sender, EventArgs e)
{
- if (HbProcess != null && HbProcess.HasExited && HbProcess.ExitCode != 0 && !processKilled)
- {
- errorService.ShowError("It appears that HandBrakeCLI has crashed. You can check the Activity Log for further information.", string.Format("Exit Code was: {0}", HbProcess.ExitCode));
- }
-
- processKilled = false;
IsEncoding = false;
if (this.EncodeEnded != null)
this.EncodeEnded(this, new EventArgs());
|