Remove AgentSchedulingGroup disconnect handler.
Currently, renderer-side objects (RenderFrame, RenderView, etc.) assume the AgentSchedulingGroup outlives them, but this is not the case if the disconnect handler is called before they are destroyed. After this CL, the ASG's lifetime will match the RenderThread's, and it will be destroyed when the RenderThread is destroyed. This is OK for now, since we currently only have a single ASG per process and the host's lifetime matches the RenderProcessHost's. In the meantime, kouhei@ is working on properly shutting down ASGs via an IPC, similar to other objects. Bug: 1137580, 1138942 Change-Id: Iab02cecf3cd828a0b84f2bc29e451d1a591422ad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2478622 Commit-Queue: Tal Pressman <talp@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Kouhei Ueno <kouhei@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#819238}
Showing
Please register or sign in to comment