Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flush animation queue directly in useAnimatedProps
Summary: changelog: [internal] Call flushQueue directly from useAnimatedProps to avoid mismatch between `NativeAnimatedHelper.API.setWaitingForIdentifier` and `NativeAnimatedHelper.API.unsetWaitingForIdentifier` Previously, animation queue only got called if every `setWaitingForIdentifier` call was matched by `unsetWaitingForIdentifier`. If an error is thrown, this is not the case and they get out of sync. WHen they get out of sync, they never recover and animation queue is never flushedddddd. Reviewed By: yungsters Differential Revision: D38938858 fbshipit-source-id: c38fdef05cc70ce274b8e16114ffe49cc2dcb9b3
- Loading branch information