ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/xmltv_parser/trunk/libxmltv/Core/XMLTVChannelCollection.cs
(Generate patch)

Comparing trunk/libxmltv/Core/XMLTVChannelCollection.cs (file contents):
Revision 44 by william, Fri Mar 8 03:36:44 2013 UTC vs.
Revision 45 by william, Fri Mar 8 03:41:18 2013 UTC

# Line 41 | Line 41 | namespace libxmltv.Core
41  
42              foreach (var c in doc.Descendants(XMLTVConstants.CHANNEL_ELEMENT))
43              {
44 +                if (instance.IsDisposing)
45 +                {
46 +                    break;
47 +                }
48                  Channel channel = new Channel(c);
49                  entries.Add(channel.Id, channel);
50                  Application.DoEvents();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines