/[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/16 13:26:09	167
+++ trunk/libxmltv/Core/XMLTVRuntimeInstance.cs	2013/03/16 19:56:47	189
@@ -138,6 +138,7 @@
             }
             if (this.Channels != null)
             {
+                this.Channels.TrimExcess();
                 xmltv_logger.Info.WriteLine("Source Loaded: '{0}' Channels from source '{1}'", this.Channels.Count, this.Source.SourceName);
             }
             else
@@ -147,6 +148,7 @@
             }
             if (this.Programs != null)
             {
+                this.Programs.TrimExcess();
                 xmltv_logger.Info.WriteLine("Source Loaded: '{0}' Programs from source '{1}'", this.Programs.Count, this.Source.SourceName);
             }
             else

 

  ViewVC Help
Powered by ViewVC 1.1.22