Author: alanmc
Date: 2006-11-09 11:27:57 -0500 (Thu, 09 Nov 2006)
New Revision: 67607

Modified:
   trunk/bitsharp/src/MonoTorrent.Client/Managers/ConnectionManager.cs
Log:
Removed code that shouldn't have been there ;)

Modified: trunk/bitsharp/src/MonoTorrent.Client/Managers/ConnectionManager.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Client/Managers/ConnectionManager.cs 
2006-11-09 16:06:44 UTC (rev 67606)
+++ trunk/bitsharp/src/MonoTorrent.Client/Managers/ConnectionManager.cs 
2006-11-09 16:27:57 UTC (rev 67607)
@@ -165,7 +165,7 @@
             bool cleanUp = false;
             PeerConnectionID id = (PeerConnectionID)result.AsyncState;
             result.AsyncWaitHandle.Close();
-            result.AsyncWaitHandle.SafeWaitHandle.Dispose();
+            
             try
             {
                 lock (id.TorrentManager.listLock)
@@ -271,7 +271,7 @@
             bool cleanUp = false;
             PeerConnectionID id = (PeerConnectionID)result.AsyncState;
             result.AsyncWaitHandle.Close();
-            result.AsyncWaitHandle.SafeWaitHandle.Dispose();
+            
             try
             {
                 lock (id.TorrentManager.listLock)
@@ -338,7 +338,7 @@
             IPeerMessageInternal msg;
             PeerConnectionID id = (PeerConnectionID)result.AsyncState;
             result.AsyncWaitHandle.Close();
-            result.AsyncWaitHandle.SafeWaitHandle.Dispose();
+            
             try
             {
                 lock (id.TorrentManager.listLock)
@@ -435,7 +435,7 @@
         {
             bool cleanUp = false;
             PeerConnectionID id = (PeerConnectionID)result.AsyncState;
-            result.AsyncWaitHandle.Close(); 
result.AsyncWaitHandle.SafeWaitHandle.Dispose();
+            result.AsyncWaitHandle.Close(); 
             try
             {
                 lock (id.TorrentManager.listLock)
@@ -502,7 +502,7 @@
             bool cleanUp = false;
             PeerConnectionID id = (PeerConnectionID)result.AsyncState;
             result.AsyncWaitHandle.Close();
-            result.AsyncWaitHandle.SafeWaitHandle.Dispose();
+            
             try
             {
                 lock (id.TorrentManager.listLock)
@@ -592,7 +592,7 @@
             bool cleanUp = false;
             PeerConnectionID id = (PeerConnectionID)result.AsyncState;
             result.AsyncWaitHandle.Close();
-            result.AsyncWaitHandle.SafeWaitHandle.Dispose();
+            
             try
             {
                 lock (id.TorrentManager.listLock)
@@ -691,7 +691,7 @@
             bool cleanUp = false;
             PeerConnectionID id = (PeerConnectionID)result.AsyncState;
             result.AsyncWaitHandle.Close();
-            result.AsyncWaitHandle.SafeWaitHandle.Dispose();
+            
             try
             {
                 lock (id.TorrentManager.listLock)

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

Reply via email to