[Webkit-unassigned] [Bug 139740] Web Inspector: [Mac] Occasional Crashes Closing Inspector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 17 13:32:10 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=139740

--- Comment #6 from Joseph Pecoraro <joepeck at webkit.org> ---
(In reply to comment #3)
> Comment on attachment 243451 [details]
> [PATCH] Proposed Fix
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=243451&action=review
> 
> > Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm:296
> > +        WebPageProxy* inspectorPage = toImpl(m_inspectorView.get().pageRef);
> > +        inspectorPage->close();
> 
> WKView dealloc calls close(), but that assumes we hold the last ref here.

Correct, we were not holding the lat ref, because the WKWebInspectorWKView was being retained by a dispatch_async block. =(

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141217/0ad87978/attachment-0002.html>


More information about the webkit-unassigned mailing list