Bug 188380

Summary: StorageManager should stop ref'ing IPC::Connections as this is leak-prone
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, commit-queue, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 188321    
Bug Blocks:    
Attachments:
Description Flags
Patch achristensen: review+

Chris Dumez
Reported 2018-08-07 10:48:04 PDT
StorageManager should stop ref'ing IPC::Connections as this is leak-prone.
Attachments
Patch (26.64 KB, patch)
2018-08-07 10:49 PDT, Chris Dumez
achristensen: review+
Chris Dumez
Comment 1 2018-08-07 10:49:43 PDT
Alex Christensen
Comment 2 2018-08-07 11:48:50 PDT
Comment on attachment 346715 [details] Patch This feels like a problem that could also be solved with WeakPtr. Would that make the Connections too big?
Chris Dumez
Comment 3 2018-08-07 11:53:45 PDT
(In reply to Alex Christensen from comment #2) > Comment on attachment 346715 [details] > Patch > > This feels like a problem that could also be solved with WeakPtr. Would > that make the Connections too big? No, but you cannot use WeakPtr as key in a HashMap since its value changes.
Alex Christensen
Comment 4 2018-08-07 12:09:29 PDT
Radar WebKit Bug Importer
Comment 5 2018-08-07 12:10:20 PDT
Note You need to log in before you can comment on or make changes to this bug.