else\r
{\r
this.EncodeService.EncodeCompleted -= this.EncodeServiceEncodeCompleted;\r
- this.OnQueueCompleted(new QueueCompletedEventArgs(true));\r
this.BackupQueue(string.Empty);\r
+ this.OnQueueCompleted(new QueueCompletedEventArgs(true));\r
}\r
}\r
\r
this.InvokeQueueChanged(EventArgs.Empty);\r
this.InvokeJobProcessingStarted(new QueueProgressEventArgs(job));\r
this.EncodeService.Start(job.Task, job.Configuration);\r
+ this.BackupQueue(string.Empty);\r
}\r
else\r
{\r
// No more jobs to process, so unsubscribe the event\r
this.EncodeService.EncodeCompleted -= this.EncodeServiceEncodeCompleted;\r
\r
+ this.BackupQueue(string.Empty);\r
+\r
// Fire the event to tell connected services.\r
this.OnQueueCompleted(new QueueCompletedEventArgs(false));\r
}\r
-\r
- this.BackupQueue(string.Empty);\r
}\r
\r
#endregion\r