WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
188380
StorageManager should stop ref'ing IPC::Connections as this is leak-prone
https://bugs.webkit.org/show_bug.cgi?id=188380
Summary
StorageManager should stop ref'ing IPC::Connections as this is leak-prone
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2018-08-07 10:49:43 PDT
Created
attachment 346715
[details]
Patch
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
http://trac.webkit.org/r234664
Radar WebKit Bug Importer
Comment 5
2018-08-07 12:10:20 PDT
<
rdar://problem/43013954
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug