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:10:48 -07:00 коммит произвёл Facebook Github Bot
Родитель fbc6d8caff
Коммит e4240da560
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -24,7 +24,7 @@ namespace facebook {
void didReceiveFailure() override;
private:
id<RCTImageResponseDelegate> delegate_;
__weak id<RCTImageResponseDelegate> delegate_;
};
}
}