Memory leak in IOS webbrowser

Hello :),

I noticed a leak in the ios webbrowser, where we create / delete multiple times, the TextureSamplePool is never deleted, same for the webbrowsertexture, which gets add to root and never released during the close, leading to an accumulation of theses textures, this is how i modified the close function

[Image Removed]

Steps to Reproduce
Use multiple times a webbrowser slate widget

Hello Alex,

Thank you for binging this to our attention. We have resolved this at CL 44076742

Best regards.

Thank you :slight_smile:

Hi Alex,

We have identified an additional Objective C leak in that same code segment that will require the addition of [WebViewWrapper release] prior to the clearing of the pointer.

Best regards.

ah interesting, thanks, will add that

Hi Alexander,

That last change is now in the main brach at https://github.com/EpicGames/UnrealEngine/commit/194aa33c2f1a60122090afd36166a99b9b2792a2\.

Best regards.