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:
zhongwuzw
2019-05-24 12:15:39 -07:00
committed by Facebook Github Bot
parent fbc6d8caff
commit e4240da560
+1 -1
View File
@@ -24,7 +24,7 @@ namespace facebook {
void didReceiveFailure() override;
private:
id<RCTImageResponseDelegate> delegate_;
__weak id<RCTImageResponseDelegate> delegate_;
};
}
}