Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/guiunit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan McGovern <alan@xamarin.com>2013-08-03 01:26:06 +0400
committerAlan McGovern <alan@xamarin.com>2013-08-03 01:26:06 +0400
commitfac6df036856cb2218b3e29825220a427a86f39f (patch)
tree834f4cc72c19eb5aae189a58026a3cf6a61aad98
parent8f7509b6ba768aa449aa892ca1efef842a87119e (diff)
Fix on the fly updates again
The last commit was broken. Whoops!
-rwxr-xr-xsrc/framework/Runner/TcpWriter.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/framework/Runner/TcpWriter.cs b/src/framework/Runner/TcpWriter.cs
index 4da2da6..44cb642 100755
--- a/src/framework/Runner/TcpWriter.cs
+++ b/src/framework/Runner/TcpWriter.cs
@@ -107,20 +107,20 @@ namespace NUnitLite.Runner
this.stream.Position = 0;
}
- private void OnSocketCompleted (object sender, SocketAsyncEventArgs e)
+ private void OnConnectCompleted (object sender, SocketAsyncEventArgs e)
{
if (e.SocketError != SocketError.Success)
this.error = e.SocketError;
- wait.Set();
+ connectWait.Set();
}
- private void OnConnectCompleted (object sender, SocketAsyncEventArgs e)
+ private void OnSocketCompleted (object sender, SocketAsyncEventArgs e)
{
if (e.SocketError != SocketError.Success)
this.error = e.SocketError;
else if (e.BytesTransferred == 0)
this.error = SocketError.Disconnecting;
- connectWait.Set();
+ wait.Set();
}
}
}