Bug 97580

Summary: [GTK] Don't kill automatically the web process when the ui process finishes
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal Keywords: Gtk
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Bug Depends on:    
Bug Blocks: 97583    
Attachments:
Description Flags
Patch mrobinson: review+

Description Carlos Garcia Campos 2012-09-25 11:16:31 PDT
We use prctl(PR_SET_PDEATHSIG, SIGKILL); in linux to make sure the web process is killed when the ui process finishes. This is not needed any more since now the web process stops the main loop when the connection with the ui process is closed in WebProcess::didClose(). This approach is better because it works for any platform and makes the web process finish normally from the main().
Comment 1 Carlos Garcia Campos 2012-09-25 11:19:17 PDT
Created attachment 165643 [details]
Patch
Comment 2 Martin Robinson 2012-09-25 11:29:40 PDT
Comment on attachment 165643 [details]
Patch

Nice.
Comment 3 Carlos Garcia Campos 2012-09-25 11:33:43 PDT
Committed r129533: <http://trac.webkit.org/changeset/129533>