]> granicus.if.org Git - handbrake/commitdiff
WinGui:
authorsr55 <sr55.hb@outlook.com>
Tue, 9 Nov 2010 18:03:22 +0000 (18:03 +0000)
committersr55 <sr55.hb@outlook.com>
Tue, 9 Nov 2010 18:03:22 +0000 (18:03 +0000)
- Missed comment and reset.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3667 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/C#/HandBrake.ApplicationServices/Services/Encode.cs

index 3e0e31e11808f196d44ff5ab34a6bb4c5f507e09..9e5d7beaeb37bb04f7b52892e192074d3a37a6e0 100644 (file)
@@ -109,6 +109,9 @@ namespace HandBrake.ApplicationServices.Services
         /// </summary>\r
         protected Process HbProcess { get; set; }\r
 \r
+        /// <summary>\r
+        /// Determines if the process was killed or safely closed.\r
+        /// </summary>\r
         private bool processKilled;\r
 \r
         /// <summary>\r
@@ -341,6 +344,7 @@ namespace HandBrake.ApplicationServices.Services
                 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));\r
             }\r
 \r
+            processKilled = false;\r
             IsEncoding = false;\r
             if (this.EncodeEnded != null)\r
                 this.EncodeEnded(this, new EventArgs());\r