Detect and clean up discarded mojo connections to deleted RenderFrames.
Currently, if a RenderFrame is deleted before the ExchangeServiceProviders message is received in the renderer, the message pipe handles contained in that message are retained, waiting for a RenderFrame that has already been deleted. This changes RenderThreadImpl::PendingRenderFrameConnect to detect when the browser closes its handles to those message pipes and clean itself up when that occurs. BUG=457722 Review URL: https://codereview.chromium.org/1005893002 Cr-Commit-Position: refs/heads/master@{#320690}
Showing
Please register or sign in to comment