Permalink
Browse files

Prevent hang on Connection.Start()

  • Loading branch information...
1 parent 4b5907a commit 5752d6007b8751a3bc723fea0405d7a0994ed82e @jamesfoster jamesfoster committed Jun 22, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 SignalR.Client/Transports/AutoTransport.cs
@@ -88,7 +88,8 @@ public Task<T> Send<T>(IConnection connection, string data)
public void Stop(IConnection connection)
{
- _transport.Stop(connection);
+ if(_transport != null)
+ _transport.Stop(connection);
}
}
}

0 comments on commit 5752d60

Please sign in to comment.