Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing a crash in iOS 9.3.5 when we have a layer with WebView getting…
… deallocated (cocos2d#20285) * 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>
- Loading branch information