New issue
Advanced search Search tips

Issue 772247 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Task



Sign in to add a comment

Refine onwnership model around EmbeddedWorkerInstanceClient

Project Member Reported by shimazu@chromium.org, Oct 6 2017

Issue description

Currently renderer-side objects around EmbeddedWorkerInstanceClientImpl owned by a reference cycle like the following:
EmbeddedWorkerInstanceClientImpl -(owns)-> WorkerWrapper -(owns)-> WebEmbeddedWorkerInstance -(owns)-> ServiceWorkerContextClient -(owns)-> EmbeddedWorkerInstanceClientImpl

It could be simplified if the browser-side has the ownership of EWInstanceClientImpl, or EWInstanceClientImpl owns itself.
 

Sign in to add a comment