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

eventSource?.readyState Not Updating to closed on network disconnect #142

Open
narendra-ct opened this issue Jul 11, 2020 · 2 comments
Open

Comments

@narendra-ct
Copy link

Hi..

  • Observed eventSource?.readyState is still "Open" state even after network disconnection.

Steps

  • Connect with eventSource
  • Turn off network
  • Triggered onComplete callback. Still the eventSource?.readyState is not updated to "Closed"
@tbaranes
Copy link

tbaranes commented Nov 9, 2020

Friendly ping about this issue, is that an expected behaviour?

@tbaranes
Copy link

tbaranes commented Nov 9, 2020

I opened a PR (#146) to fixed this behaviour since I don't think it's expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants