pusher / pusher-websocket-dotnet

Pusher Channels Client Library for .NET
MIT License
112 stars 113 forks source link

Fixing NRE and race in Connect/Disconnect #72

Closed cdauphinee closed 4 years ago

cdauphinee commented 5 years ago

This partially fixes the issue mentioned here: https://github.com/pusher/pusher-websocket-dotnet/issues/71

Additionally prevents a race in concurrent connect/disconnect calls, but there are still other races when the socket is closed externally (i.e. due to the remote side closing the connection).

damdo commented 4 years ago

Thank you @cdauphinee