Open Varuzh1 opened 3 weeks ago
Thank you for your issue report. Please note that the following information is missing or incomplete:
Please update your issue with this information to help us address it more effectively.
Note: issues without complete information have a lower priority
Version
6.7.0
What platforms are you having the problem on?
iOS
System Version
18
On what device are you experiencing the issue?
Real device
Architecture
Old architecture
What happened?
RCTVideo has a memory leak due to two retain cycles:
_imaAdsManager = RCTIMAAdsManager(video: self, pipEnabled: isPipEnabled)
isPipEnabled closure should be called on weak selfReproduction Link
repository link
Reproduction
Step to reproduce this bug are: Unmount any video component and verify that the deinit function in RCTVideo is not being called.