Bug 49090

Summary: WebProcess won't kill itself if UIProcess goes away while WebProcess is spinning
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: WebKit2Assignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal CC: aroben, darin
Priority: P2 Keywords: InRadar, PlatformOnly
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
See Also: https://bugs.webkit.org/show_bug.cgi?id=177972
Attachments:
Description Flags
Patch darin: review+

Anders Carlsson
Reported 2010-11-05 13:41:16 PDT
WebProcess won't kill itself if UIProcess goes away while WebProcess is spinning
Attachments
Patch (19.65 KB, patch)
2010-11-05 14:52 PDT, Anders Carlsson
darin: review+
Anders Carlsson
Comment 1 2010-11-05 14:50:50 PDT
Anders Carlsson
Comment 2 2010-11-05 14:52:57 PDT
Darin Adler
Comment 3 2010-11-05 15:41:50 PDT
Comment on attachment 73123 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=73123&action=review > WebKit2/Platform/CoreIPC/Connection.h:83 > + virtual void didCloseOnConnectionWorkQueue(WorkQueue*, Connection*) { } Why not pure virtual? > WebKit2/Platform/WorkItem.h:174 > + void execute() Is this virtual? Could you be explicit about that?
Anders Carlsson
Comment 4 2010-11-05 15:46:24 PDT
(In reply to comment #3) > (From update of attachment 73123 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=73123&action=review > > > WebKit2/Platform/CoreIPC/Connection.h:83 > > + virtual void didCloseOnConnectionWorkQueue(WorkQueue*, Connection*) { } > > Why not pure virtual? Because it's only used by two clients and I didn't want to force all other connections to add empty functions. > > > WebKit2/Platform/WorkItem.h:174 > > + void execute() > > Is this virtual? Could you be explicit about that? Yes and yes.
Anders Carlsson
Comment 5 2010-11-05 16:00:37 PDT
Note You need to log in before you can comment on or make changes to this bug.