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: timeout bound conetext is not origin #699

Merged
merged 1 commit into from
Jan 10, 2023

Conversation

zongzi531
Copy link
Contributor

Note: the engine.io.js file is the generated output of make engine.io.js, and should not be manually modified.

The kind of change this PR does introduce

  • a bug fix
  • a new feature
  • an update to the documentation
  • a code change that improves performance
  • other

Current behaviour

none.

New behaviour

none.

Other information (e.g. related issues)

Sometimes (like me), I get an "Illegal invocation" error in my project and I try to fix it. You can see the link for details.

I think the code of this settimeout is not rigorous enough, and I hope to make the code stronger.

https://mtsknn.fi/blog/illegal-invocations-in-js/

@zongzi531
Copy link
Contributor Author

@darrachequesne

@darrachequesne darrachequesne merged commit 047f420 into socketio:main Jan 10, 2023
@darrachequesne
Copy link
Member

@zongzi531 thanks!

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 this pull request may close these issues.

2 participants