mldonkey-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-commits] Changes to mldonkey/src/networks/donkey/donkeyInterac


From: mldonkey-commits
Subject: [Mldonkey-commits] Changes to mldonkey/src/networks/donkey/donkeyInteractive.ml
Date: Thu, 06 Oct 2005 06:19:34 -0400

Index: mldonkey/src/networks/donkey/donkeyInteractive.ml
diff -u mldonkey/src/networks/donkey/donkeyInteractive.ml:1.63 
mldonkey/src/networks/donkey/donkeyInteractive.ml:1.64
--- mldonkey/src/networks/donkey/donkeyInteractive.ml:1.63      Wed Sep 21 
18:11:54 2005
+++ mldonkey/src/networks/donkey/donkeyInteractive.ml   Thu Oct  6 10:19:30 2005
@@ -943,6 +943,8 @@
 
   file_ops.op_file_commit <- (fun file new_name ->
 
+      Int64Swarmer.remove_swarmer file.file_swarmer;
+      file.file_swarmer <- None;
 (*      DonkeyStats.save_download_history file; *)
 
       if !!keep_downloaded_in_old_files
@@ -1418,6 +1420,7 @@
 
   );
   file_ops.op_file_cancel <- (fun file ->
+      Int64Swarmer.remove_swarmer file.file_swarmer;
       file.file_swarmer <- None;
       Hashtbl.remove files_by_md4 file.file_md4;
       current_files := List2.removeq file !current_files;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]