Skip to content

Commit

Permalink
Merge pull request #16 from wordpress-mobile/fix/invalidation-display…
Browse files Browse the repository at this point in the history
…-link

Invalidate display link instead of pausing it when invalidating the nodes manager
  • Loading branch information
fluiddot authored Jun 1, 2022
2 parents e83e1f2 + f3a68eb commit 0f902a0
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ios/REANodesManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ - (instancetype)initWithModule:(REAModule *)reanimatedModule uiManager:(RCTUIMan
- (void)invalidate
{
_eventHandler = nil;
[self stopUpdatingOnAnimationFrame];
[_displayLink invalidate];
}

- (void)operationsBatchDidComplete
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-reanimated",
"version": "2.4.1-wp-2",
"version": "2.4.1-wp-3",
"description": "More powerful alternative to Animated library for React Native.",
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
Expand Down
Binary file removed react-native-reanimated-2.4.1-wp-2.tgz
Binary file not shown.
Binary file added react-native-reanimated-2.4.1-wp-3.tgz
Binary file not shown.

0 comments on commit 0f902a0

Please sign in to comment.