Add null check for proxy
proxy is destroyed in WillShutdown which is called when LayerTreeHostImpl is destroyed. It is possible input mojo pipes are still alive and continue to AttachSynchronousCompositor, leading to a use after free. So add a null check. Bug: 1028360 Change-Id: Idbd04b0602e59ce330956d5a976403ad5cf18b8b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1953388 Auto-Submit: Bo <boliu@chromium.org> Reviewed-by:Dave Tapuska <dtapuska@chromium.org> Commit-Queue: Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#722538}
Showing
Please register or sign in to comment