/[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

revision 77 by william, Sat Mar 9 11:28:41 2013 UTC revision 79 by william, Sat Mar 9 11:40:15 2013 UTC
# Line 232  namespace libxmltv.Core Line 232  namespace libxmltv.Core
232                  CreateLoader(xmlfile);                  CreateLoader(xmlfile);
233                  CreateParser();                  CreateParser();
234              }              }
235                catch (ThreadAbortException ex) { Debug.WriteLine(ex.ToString()); }
236              catch (Exception ex)              catch (Exception ex)
237              {              {
238                  xmltv_logger.Error.WriteLine(ex.ToString());                  xmltv_logger.Error.WriteLine(ex.ToString());
# Line 284  namespace libxmltv.Core Line 285  namespace libxmltv.Core
285              double progress = 0;              double progress = 0;
286              foreach(var node in nodes)              foreach(var node in nodes)
287              {              {
288                    if (this.GetInstance().IsAborting)
289                    {
290                        break;
291                    }
292                  if (!CreateHandlerForNode(node)) { xmltv_logger.Verbose.Debug.WriteLine("Unable to create handler for node: '{0}'", node.Name.ToString()); }                  if (!CreateHandlerForNode(node)) { xmltv_logger.Verbose.Debug.WriteLine("Unable to create handler for node: '{0}'", node.Name.ToString()); }
293                  node_index++;                  node_index++;
294                  progress = 100.0 * (node_index / total_nodes);                  progress = 100.0 * (node_index / total_nodes);

Legend:
Removed from v.77  
changed lines
  Added in v.79

  ViewVC Help
Powered by ViewVC 1.1.22