[iOS] Memory leak in RCTModalHost? #9265
Labels
Good first issue
Interested in collaborating? Take a stab at fixing one of these issues.
Help Wanted
Issues ideal for external contributors.
Platform: iOS
iOS applications.
Resolution: Locked
This issue was locked by the bot.
It looks like RN currently isn't calling
invalidate
on any of theRCTModalHostViews
because_hostViews
is never allocated. I think this line should have a!
in the condition.My assumption is that the intention of this line is to allocate
_hostViews
exactly 1 time but it looks like it's currently allocating it only if it is already allocated.The text was updated successfully, but these errors were encountered: