[iOS WK2] Fix some leaks in TestRunnerWKWebView and UIScriptContext
Created attachment 262780 [details] Patch
Comment on attachment 262780 [details] Patch Clearing flags on attachment: 262780 Committed r190819: <http://trac.webkit.org/changeset/190819>
All reviewed patches have been landed. Closing bug.
Comment on attachment 262780 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=262780&action=review > Tools/WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:81 > + self.willBeginZoomingCallback = nil; > + self.didEndZoomingCallback = nil; > + self.didShowKeyboardCallback = nil; > + self.didHideKeyboardCallback = nil; > + > + self.zoomToScaleCompletionHandler = nil; > + self.showKeyboardCompletionHandler = nil; I think the best practice is to call release, not call the setter method.