/[xmltv_parser]/trunk/libxmltv/Core/XMLTVRuntimeInstance.cs
ViewVC logotype

Diff of /trunk/libxmltv/Core/XMLTVRuntimeInstance.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/libxmltv/Core/XMLTVRuntimeInstance.cs	2013/03/09 11:28:41	77
+++ trunk/libxmltv/Core/XMLTVRuntimeInstance.cs	2013/03/09 11:36:24	78
@@ -284,6 +284,10 @@
             double progress = 0;
             foreach(var node in nodes)
             {
+                if (this.GetInstance().IsAborting)
+                {
+                    break;
+                }
                 if (!CreateHandlerForNode(node)) { xmltv_logger.Verbose.Debug.WriteLine("Unable to create handler for node: '{0}'", node.Name.ToString()); }
                 node_index++;
                 progress = 100.0 * (node_index / total_nodes);

 

  ViewVC Help
Powered by ViewVC 1.1.22