Follow-up Comment #24, bug #12761 (project mldonkey):

Wrong, wrong, wrong.
>It isn't checking to see that the swarmer isn't in use by some other file.
Actually it does, that's the point. What do you think this is for?
+  if !found = 0 then Int64Swarmer.remove_swarmer file_swarmer

>Once you set file.file_swarmer <- None for _every_ file that is using the
particular swarmer, the garbage collector will automatically remove the entry
from swarmers_by_name since no one else references it anymore.

If you have two files downloading, using the same swarmer, another file is
referencing to same swarmer, even after cancelling one of them.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12761>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Mldonkey-bugs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-bugs

Reply via email to