Closed Curtis-Fletcher closed 6 years ago
I fixed it differently https://github.com/JSteunou/webstomp-client/commit/c5de9c4ca42b13453b35669fa896b5c3fa5d161f
Thanks for the bugfix though, but I could not merge it because you pushed the dist files. Avoid making PR with other changes than just the fix in the source code. This advice is valid for any project you will contribute to ;)
No problem, sorry about pushing dist. I have minimal experience contributing to transpiled projects, thanks for correcting me.
Add handling for race condition with RFC6455 style Node websocket libs that open their connection in the constructor resulting in a race condition setting onopen when used with webstomp-client