Ver código fonte

[System]: Don't call OnCompleted(this) twice in SocketAsyncEventArgs.FinishWrapperConnectSuccess(). (#4894)

Martin Baulig 8 anos atrás
pai
commit
d62228e521

+ 0 - 1
mcs/class/System/System.Net.Sockets/SocketAsyncEventArgs.cs

@@ -262,7 +262,6 @@ namespace System.Net.Sockets
 			SetResults(SocketError.Success, bytesTransferred, flags);
 			current_socket = connectSocket;
 
-			Complete ();
 			OnCompleted (this);
 		}