pusher / pusher-websocket-dotnet

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

Binding an event listener may race with an event being emitted #76

Closed cdauphinee closed 4 years ago

cdauphinee commented 5 years ago

The EventEmitter listener collections may be modified by a call to bind or unbind while one of the web socket threads is enumerating the collections in EmitEvent.

While it's very hard to reproduce the necessary timing, this race manifests as an infinite loop in .NET Core.

damdo commented 4 years ago

Duplicate of #41