[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-bugs] [bug #12761] Cancel is broken
From: |
spiralvoice |
Subject: |
[Mldonkey-bugs] [bug #12761] Cancel is broken |
Date: |
Fri, 10 Jun 2005 15:19:31 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.8) Gecko/20050519 Firefox/1.0.4 |
Follow-up Comment #11, bug #12761 (project mldonkey):
Did some tests, I donĀ“t think "file.file_swarmer <- None;" will
help, the problem seems to be in commonFile. All tests where
done with a patched core.
Start the core in an empty dir, add an ed2k-link
mem_stats 1
Module CommonFile
files: 1
Module CommonSwarming2
Swarmers: 1
cancel the download
mem_stats 1
Module CommonFile
files: 1
Module CommonSwarming2
Swarmers: 1
10 seconds later
mem_stats 1
Module CommonFile
files: 1
Module CommonSwarming2
Swarmers: 0
add three other files and cancel them immediatly afterwards
mem_stats 1
Module CommonFile
files: 5
Module CommonSwarming2
Swarmers: 0
The swarmers took about two minutes to be cleaned, one swarmer
was removed immediatly after canceling, the two others took
the two minutes you mentioned, so this has nothing to do with
save_options_delay, weird...
But nonetheless in commonFile the files are never removed...
Although after save in files.ini there are no entries left, so
"file.file_swarmer <- None;" helped a bit indeed. I attached the
patch for it here.
_______________________________________________________
Additional Item Attachment:
File name: cancel.patch Size:0 KB
<http://savannah.nongnu.org/bugs/download.php?item_id=12761&item_file_id=2588>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12761>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/