mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Break retain cycle between view component and observer (#25019)
Summary: Fixes potential memory leaks. ## Changelog [iOS] [Fixed] - [Fabric] Break retain cycle between view component and observer Pull Request resolved: https://github.com/facebook/react-native/pull/25019 Differential Revision: D15499209 Pulled By: shergin fbshipit-source-id: de53bea5cd5758b9890f3941c39a27d2747bf35b
This commit is contained in:
committed by
Facebook Github Bot
parent
fbc6d8caff
commit
e4240da560
@@ -24,7 +24,7 @@ namespace facebook {
|
||||
void didReceiveFailure() override;
|
||||
|
||||
private:
|
||||
id<RCTImageResponseDelegate> delegate_;
|
||||
__weak id<RCTImageResponseDelegate> delegate_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user