Bug 57540

Summary: [GTK] Close connection when web process finishes
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Bug Depends on: 57234, 57434    
Bug Blocks: 57611    
Attachments:
Description Flags
Patch none

Description Carlos Garcia Campos 2011-03-31 05:36:57 PDT
Qt port has Connection::setShouldCloseConnectionOnProcessTermination(), we could use it too.
Comment 1 Carlos Garcia Campos 2011-03-31 05:49:17 PDT
Created attachment 87709 [details]
Patch

Patch to implement and use WorkQueue::scheduleWorkOnTermination() in GTK platform too.
Comment 2 Martin Robinson 2011-03-31 09:45:07 PDT
Comment on attachment 87709 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=87709&action=review

> Source/WebKit2/Platform/gtk/WorkQueueGtk.cpp:90
> +    static gboolean performWorkOnTermination(GPid pid, gint status, EventSource* eventSource)

Here you should omit the name of the GPid parameter and the gint parameter.
Comment 3 Carlos Garcia Campos 2011-04-08 03:28:53 PDT
Committed r83280: <http://trac.webkit.org/changeset/83280>