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 erroneous socket connections to undefinedCHANGE_ME_PATH #4799

Merged
merged 6 commits into from
Jul 29, 2019

Conversation

flotwig
Copy link
Contributor

@flotwig flotwig commented Jul 24, 2019

We updated the code to require('@packages/extension'), but did not update the extension to no longer immediately connect to the socket. This change makes it so that the extension only connects to the socket when it is running in the browser.

@flotwig flotwig changed the title [WIP] Fix erroneous socket connections to undefinedCHANGE_ME_PATH Fix erroneous socket connections to undefinedCHANGE_ME_PATH Jul 24, 2019
@flotwig flotwig requested a review from a team July 24, 2019 11:28
@jennifer-shehane
Copy link
Member

Lots of failure in here

- prevents situation where connect(…) is called when module is required
- simplifies handling automatic connection only when in the browser
without needing to modify globals
@brian-mann brian-mann merged commit 06ee0ca into develop Jul 29, 2019
@flotwig flotwig deleted the issue-4776 branch January 24, 2022 18:16
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.

Socket IO package tries to connect to nowhere at the start
3 participants