axmol/cocos/ui/UIWebView
minggo 3a36e2d5c2
Fixing a crash in iOS 9.3.5 when we have a layer with WebView getting deallocated (#20285) (#20328)
* In case of iOS 9.3.5 when we show a web view and deallocate the layer it is trying to release memory associated with WKWebView instance, but it hadn’t retained it in the first place. This results in a crash. This commit fixes that crash.

* Removing the autorelease and retain parts from the WKWebView instantiation.

* Changes so that we can remove the retain from the property declaration and depend only on manual retain and release of memory <Deep>
2019-11-14 14:49:11 +08:00
..
UIWebView-inl.h fix some warnings (#20236) 2019-10-25 09:27:54 +08:00
UIWebView.cpp Remove experimental namespace (#20229) 2019-10-23 14:58:31 +08:00
UIWebView.h fix some warnings (#20236) 2019-10-25 09:27:54 +08:00
UIWebView.mm Remove experimental namespace (#20229) 2019-10-23 14:58:31 +08:00
UIWebViewImpl-android.cpp Remove experimental namespace (#20229) 2019-10-23 14:58:31 +08:00
UIWebViewImpl-android.h Remove experimental namespace (#20229) 2019-10-23 14:58:31 +08:00
UIWebViewImpl-ios.h Remove experimental namespace (#20229) 2019-10-23 14:58:31 +08:00
UIWebViewImpl-ios.mm Fixing a crash in iOS 9.3.5 when we have a layer with WebView getting deallocated (#20285) (#20328) 2019-11-14 14:49:11 +08:00