Author: alanmc
Date: 2007-04-28 17:48:28 -0400 (Sat, 28 Apr 2007)
New Revision: 76438

Modified:
   trunk/bitsharp/src/MonoTorrent/Client/Managers/TorrentManager.cs
Log:
Safer to stop the torrent first. Make the user manually start it

Modified: trunk/bitsharp/src/MonoTorrent/Client/Managers/TorrentManager.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent/Client/Managers/TorrentManager.cs    
2007-04-28 20:50:57 UTC (rev 76437)
+++ trunk/bitsharp/src/MonoTorrent/Client/Managers/TorrentManager.cs    
2007-04-28 21:48:28 UTC (rev 76438)
@@ -790,9 +790,9 @@
 
             this.hashChecked = true;
             UpdateState(TorrentState.Stopped);
-#warning Don't *always* start the torrent in the future.
-            if (this.state == TorrentState.Stopped || (this.state == 
TorrentState.Paused) || this.state == TorrentState.Hashing)
-                this.Start();
+//#warning Don't *always* start the torrent in the future.
+//            if (this.state == TorrentState.Stopped || (this.state == 
TorrentState.Paused) || this.state == TorrentState.Hashing)
+//                this.Start();
         }
 
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to