| Summary: | NetworkProcessProxy::networkProcessDidTerminate() should copy process pools before iterating over them | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||
| Component: | WebKit2 | Assignee: | Chris Dumez <cdumez> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | achristensen, ggaren, kkinnunen, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Chris Dumez
2021-06-28 15:54:50 PDT
Created attachment 432437 [details]
Patch
Comment on attachment 432437 [details]
Patch
WebProcessPool::allProcessPools should probably return a Vector<Ref<WebProcessPool>>
(In reply to Alex Christensen from comment #2) > Comment on attachment 432437 [details] > Patch > > WebProcessPool::allProcessPools should probably return a > Vector<Ref<WebProcessPool>> Seems like this would be unnecessarily inefficient for call sites that do not need copying/ref'ing (e.g. the ones that only do IPC). Comment on attachment 432437 [details]
Patch
It would also be safer.
Created attachment 432440 [details]
Patch
Committed r279354 (239222@main): <https://commits.webkit.org/239222@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 432440 [details]. |