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

Delete SDK requests array after loading error #711

Merged
merged 2 commits into from
Sep 17, 2019

Conversation

bastei
Copy link
Contributor

@bastei bastei commented Sep 9, 2019

I noticed that loading an SDK permanently and silently fails after it failed to load once. That's because the resolves array for an SDK never gets cleaned after a loading error. This is fixed here.
If an error occurs while loading the SDK, all waiting requests for that SDK get rejected and the corresponding array gets deleted.

bastei and others added 2 commits September 9, 2019 19:00
* now a SDK can be loaded after it failed to load once
* reject all requests for one SDK when it fails to load
@cookpete cookpete merged commit 2602a63 into cookpete:master Sep 17, 2019
@bastei bastei deleted the fix-getsdk-errorhandling branch September 23, 2019 13:57
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.

None yet

2 participants