Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(WebSocketSubject): handle slow WebSocket close #6708

Merged
merged 1 commit into from Dec 6, 2021

Commits on Dec 6, 2021

  1. fix(WebSocketSubject): handle slow WebSocket close

    The close event on WebSocket does not always occur immediately after
    running the close function. If the close event is occurs after a new
    WebSocket is opened, then the reset needs to be skipped. This checks to
    make sure the socket being reset is the one that matches the event.
    
    Closes ReactiveX#4650, ReactiveX#3935
    maknapp committed Dec 6, 2021
    Copy the full SHA
    c0b5071 View commit details
    Browse the repository at this point in the history