Summary: | Fix leaks in DumpRenderTree and WebKitTestRunner | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> | ||||||||
Component: | Tools / Tests | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | commit-queue, darin, joepeck, simon.fraser, webkit-bug-importer, wenson_hsieh | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
David Kilzer (:ddkilzer)
2019-09-15 22:32:18 PDT
Created attachment 378842 [details]
Patch v1
Created attachment 378846 [details]
Patch v2
(In reply to David Kilzer (:ddkilzer) from comment #2) > Created attachment 378842 [details] > Patch v1 Apparently CGEventRelease() isn't a thing! Comment on attachment 378846 [details] Patch v2 View in context: https://bugs.webkit.org/attachment.cgi?id=378846&action=review > Tools/WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:124 > + self.didStartFormControlInteractionCallback = nil; > + self.didEndFormControlInteractionCallback = nil; > + self.didShowForcePressPreviewCallback = nil; > + self.didDismissForcePressPreviewCallback = nil; > + self.willBeginZoomingCallback = nil; > + self.didEndZoomingCallback = nil; > + self.didShowKeyboardCallback = nil; > + self.didHideKeyboardCallback = nil; > + self.didShowMenuCallback = nil; > + self.didHideMenuCallback = nil; > + self.willPresentPopoverCallback = nil; > + self.didDismissPopoverCallback = nil; > + self.didEndScrollingCallback = nil; > + self.rotationDidEndCallback = nil; These should be taken care of by -resetInteractionCallbacks, no? Comment on attachment 378846 [details] Patch v2 View in context: https://bugs.webkit.org/attachment.cgi?id=378846&action=review >> Tools/WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:124 >> + self.rotationDidEndCallback = nil; > > These should be taken care of by -resetInteractionCallbacks, no? Oops! You are correct. Will remove. Created attachment 378855 [details]
Patch v3
Comment on attachment 378855 [details] Patch v3 Clearing flags on attachment: 378855 Committed r249901: <https://trac.webkit.org/changeset/249901> All reviewed patches have been landed. Closing bug. |