Skip to content

Delete SDK requests array after loading error#711

Merged
cookpete merged 2 commits intocookpete:masterfrom
bastei:fix-getsdk-errorhandling
Sep 17, 2019
Merged

Delete SDK requests array after loading error#711
cookpete merged 2 commits intocookpete:masterfrom
bastei:fix-getsdk-errorhandling

Conversation

@bastei
Copy link
Copy Markdown
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 force-pushed the fix-getsdk-errorhandling branch from be231ab to 2e65010 Compare September 17, 2019 19:58
@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.

2 participants