Skip to content

Commit

Permalink
fix: the WKWebView will leak in the platform centered approach unless…
Browse files Browse the repository at this point in the history
… this property is cleared (#1486) (#1497)
  • Loading branch information
msmtamburro authored Oct 14, 2024
1 parent 2f0e19e commit 8eacc92
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ - (void)dispose
{
WKWebView* wkWebView = (WKWebView*)_engineWebView;
[wkWebView.configuration.userContentController removeScriptMessageHandlerForName:CDV_BRIDGE_NAME];
_engineWebView = nil;

[super dispose];
}
Expand Down

0 comments on commit 8eacc92

Please sign in to comment.