Skip to content

Commit

Permalink
Fixed missing code in Pusher.Connect connection timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhw committed Apr 27, 2011
1 parent 1c90f27 commit 5db37e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PusherClientDotNet/Pusher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@ public void Connect()
{
connectionTimeout.Stop();
Pusher.Log("Pusher : connection timeout after " + connectionTimeout.Interval + "ms");
ws.Close();
};
ws.Close();
connectionTimeout.Start();
}).Start();

ws.OnData += (sender, e) =>
Expand Down

0 comments on commit 5db37e1

Please sign in to comment.