[Webkit-unassigned] [Bug 147036] [GTK] WebProcessMain::platformFinalize() is not called when web process finished with exit(0)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 27 07:43:21 PDT 2015


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

--- Comment #10 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to comment #9) 
> gtk_clipboard_store() is expected to be called only when the application is
> about to quit, and that's what all GTK+ applications do, because GTK calls
> it after the main loop quits.

Well... that is certainly the common usage, but I think it's fine to call gtk_clipboard_store() whenever we receive data. Otherwise, it's hard to think of why else the API exists, if not to be used. The benefit would be as Darin mentions. The cost would be performance in the case of huge clipboard selections, but that's not a super practical concern, and clipboard managers can reject selections that are too big. So I think either approach is fine.

(In reply to comment #9)
> I still thing exit(0) is not the best way to finish
> the web process when we can just quit the main loop, and finish properly
> from main.

Agreed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150727/358d1749/attachment.html>


More information about the webkit-unassigned mailing list