Closed DjOli-zz closed 5 years ago
Looks like a good fix. Thanks. Will try and push another version to npm later...
Thanks :)
Any update on when you'll be able to push up the new release?
@NathanaelA Any update?
@DjOli - Sorry for the delay; have been swamped trying to handle the proplugins.org stuff. I have published the new version...
I am using this library as the basis on a project using websockets for STOMP communication. I have experienced an issue which appears to be related to closing the socket, likely a side effect of using this library under the STOMP library, where essentially the wrapper becomes null at some point between the if check and the timeout execution. I understand you are no longer supporting advancement of this library, so I implemented a very small fix to this issue, which I don't believe will cause any problems elsewhere, and will alleviate my issue. Thanks for taking the time to review the change, and please let me know if you would rather I tidy it a little more.