You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Fix cancelling timeout when waitForInitialization throws an exception (#808)
**Requirements**
- [x] I have added test coverage for new or changed functionality
- [x] I have followed the repository's [pull request submission
guidelines](../blob/main/CONTRIBUTING.md#submitting-pull-requests)
- [x] I have validated my changes against all supported platform
versions
**Related issues**
https://launchdarkly.atlassian.net/browse/SDK-1132
**Describe the solution you've provided**
Previously the timeout was cancelled in a `then()` and would be skipped
if the base promise threw an exception. The cancelation was moved to
`finally()` where it will always be called regardless of an exception.
**Describe alternatives you've considered**
N/A
**Additional context**
N/A
0 commit comments