hungdluit / flowlib

Automatically exported from code.google.com/p/flowlib
0 stars 0 forks source link

Loaded DownloadManager.DownloadItem clears segmentsDownloaded bitArray at first call of GetAvailable() #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
DownloadItem.cs Line 230
should be 
if(segmentsDownloaded==null)  segmentsDownloaded = new 
BitArray((int)segCount);

If DownloadItem deserialized it contains segmentsInProgress equals to null 
but segmentsDownloaded is loaded from xml and should not be replaced with 
new object.

Original issue reported on code.google.com by hackw...@gmail.com on 9 Jul 2009 at 1:52

GoogleCodeExporter commented 8 years ago
Fixed in rev 524

Original comment by blomman84 on 12 Jul 2009 at 7:25