diff --git a/React/Views/RCTWebView.m b/React/Views/RCTWebView.m index 46a263d0e..1b1ef646a 100644 --- a/React/Views/RCTWebView.m +++ b/React/Views/RCTWebView.m @@ -35,6 +35,11 @@ NSString *const RCTJSNavigationScheme = @"react-js-navigation"; NSString *_injectedJavaScript; } +- (void)dealloc +{ + _webView.delegate = nil; +} + - (instancetype)initWithFrame:(CGRect)frame { if ((self = [super initWithFrame:frame])) {