Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 0f902a0

Browse files
authored
Merge pull request #16 from wordpress-mobile/fix/invalidation-display-link
Invalidate display link instead of pausing it when invalidating the nodes manager
2 parents e83e1f2 + f3a68eb commit 0f902a0

4 files changed

Lines changed: 2 additions & 2 deletions

File tree

ios/REANodesManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ - (instancetype)initWithModule:(REAModule *)reanimatedModule uiManager:(RCTUIMan
125125
- (void)invalidate
126126
{
127127
_eventHandler = nil;
128-
[self stopUpdatingOnAnimationFrame];
128+
[_displayLink invalidate];
129129
}
130130

131131
- (void)operationsBatchDidComplete

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-reanimated",
3-
"version": "2.4.1-wp-2",
3+
"version": "2.4.1-wp-3",
44
"description": "More powerful alternative to Animated library for React Native.",
55
"scripts": {
66
"start": "node node_modules/react-native/local-cli/cli.js start",
-2.17 MB
Binary file not shown.
2.17 MB
Binary file not shown.

0 commit comments

Comments
 (0)