Skip to content

Conversation

@haleybash-optimizely
Copy link
Contributor

@optimizely/fullstack-devs

@haleybash-optimizely haleybash-optimizely merged commit bccf383 into master Jan 19, 2017
@haleybash-optimizely haleybash-optimizely deleted the haley/bump-version branch January 19, 2017 18:06
mjc1283 added a commit that referenced this pull request Apr 22, 2019
…all fixes (#25)

Summary:

Previously, if close was called with pending ready timeouts, those timeouts would remain active. With this change, we clear all pending ready timeouts when close is called.

To guard against Promises returned from onReady remaining permanently pending, in close, we resolve any ready promises associated with pending timeouts with unsuccessful results. 

There are two other small changes in this PR:
- Improve documentation comments for Optimzely onReady and ProjectConfigManager onReady
- Return false from setForcedVariation when no configObj available (was previously returning null)

Test plan:

Updated unit tests, existing unit tests should continue passing
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.

3 participants