[System]: Don't call OnCompleted(this) twice in SocketAsyncEventArgs.FinishWrapperCon...
authorMartin Baulig <mabaul@microsoft.com>
Tue, 23 May 2017 19:42:05 +0000 (15:42 -0400)
committerGitHub <noreply@github.com>
Tue, 23 May 2017 19:42:05 +0000 (15:42 -0400)
mcs/class/System/System.Net.Sockets/SocketAsyncEventArgs.cs

index 419035efe15fe3ad31aac61aa2ba427ccc397620..57c549fd2a23ddc44c6fe28c16ed6c84180c9d7e 100644 (file)
@@ -262,7 +262,6 @@ namespace System.Net.Sockets
                        SetResults(SocketError.Success, bytesTransferred, flags);
                        current_socket = connectSocket;
 
-                       Complete ();
                        OnCompleted (this);
                }