Bug 187624

Summary: PingLoad does not need to ref the NetworkConnectionToWebProcess
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2018-07-12 15:49:57 PDT
PingLoad does not need to ref the NetworkConnectionToWebProcess and keep it alive longer than it needs to be.
Attachments
Patch (3.62 KB, patch)
2018-07-12 15:53 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2018-07-12 15:53:42 PDT
youenn fablet
Comment 2 2018-07-12 15:59:20 PDT
Comment on attachment 344893 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=344893&action=review > Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp:270 > + auto completionHandler = [connection = m_connection.copyRef(), identifier = loadParameters.identifier] (const ResourceError& error, const ResourceResponse& response) { Is it really safe? LOL ;)
WebKit Commit Bot
Comment 3 2018-07-12 16:46:24 PDT
Comment on attachment 344893 [details] Patch Clearing flags on attachment: 344893 Committed r233787: <https://trac.webkit.org/changeset/233787>
WebKit Commit Bot
Comment 4 2018-07-12 16:46:26 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2018-07-12 16:47:17 PDT
Note You need to log in before you can comment on or make changes to this bug.