[Webkit-unassigned] [Bug 127474] [GTK] Loading page into WebView shows g_closure_unref warning

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 15 23:13:47 PST 2015


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

--- Comment #8 from Milan Crha <mcrha at redhat.com> ---
(In reply to comment #7)
> Do we have a simple test case or any other way to reproduce this? If we
> could add at least a unit test it would be perfect.

I didn't try it, but I suppose this is related to GTK+ widgets/plugins, which Evolution uses, thus a dead end in case of WebKit2.

> As Anders suggests, you could do something like RefPtr<GObjectEventListener>
> protect(this); instead of calling ref/deref.

This is a mater of taste. I do not like to rely on compiler optimizations of an auto_pointer-like classes and their freeing in the right time, thus calling ref/defer "directly" ensures that the call is done always in the right time, instead of in the time when the compiler decides it's the best time for it.

-- 
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/20150216/bbbd6bd3/attachment-0002.html>


More information about the webkit-unassigned mailing list