<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] WebProcessMain::platformFinalize() is not called when web process finished with exit(0)"
   href="https://bugs.webkit.org/show_bug.cgi?id=147036#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] WebProcessMain::platformFinalize() is not called when web process finished with exit(0)"
   href="https://bugs.webkit.org/show_bug.cgi?id=147036">bug 147036</a>
              from <span class="vcard"><a class="email" href="mailto:mcatanzaro&#64;igalia.com" title="Michael Catanzaro &lt;mcatanzaro&#64;igalia.com&gt;"> <span class="fn">Michael Catanzaro</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=147036#c9">comment #9</a>) 
<span class="quote">&gt; gtk_clipboard_store() is expected to be called only when the application is
&gt; about to quit, and that's what all GTK+ applications do, because GTK calls
&gt; it after the main loop quits.</span >

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 <a href="show_bug.cgi?id=147036#c9">comment #9</a>)
<span class="quote">&gt; I still thing exit(0) is not the best way to finish
&gt; the web process when we can just quit the main loop, and finish properly
&gt; from main.</span >

Agreed.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>