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

Add fallback values for when an exthost adapter cannot be found #70869

Merged
merged 1 commit into from
Mar 21, 2019

Conversation

mjbvz
Copy link
Contributor

@mjbvz mjbvz commented Mar 21, 2019

Fixes #69147

Due to the asynchronous communication between the exthost and main process, there may be cases where we request data from a provider that is unregistered before we can complete the request. This currently logs an error.

This change adds a fallback value that we can return instead when the adapter is has been unregistered.

Fixes microsoft#69147

Due to the asynchronous communication between the exthost and main process, there may be cases where we request data from a provider that has been unregistered. This currently logs an error.

This change adds a fallback value that we can return instead when the adapter is missing.
@mjbvz mjbvz self-assigned this Mar 21, 2019
@mjbvz mjbvz requested a review from jrieken March 21, 2019 01:12
@jrieken
Copy link
Member

jrieken commented Mar 21, 2019

Thanks @mjbvz

@jrieken jrieken merged commit f4f021f into microsoft:master Mar 21, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Cannot read property 'adapter' of undefined"
2 participants