Clean up RPHI IO thread state earlier
This changes RPHI::Cleanup to tear down the corresponding IOThreadHostImpl, preventing further IO-thread tasks from being handled by the object. This ensures that no further incoming interface requests will be handled on the IO thread for the RPHI. Specifically the purpose of this CL is to avoid any potential interface binders referencing the host's ResourceContext, which may be destroyed after Cleanup is run. Bug: 997634 Change-Id: I25fb96daebd5b2801bb95189e5715986dc4af88c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1773403 Commit-Queue: Kentaro Hara <haraken@chromium.org> Reviewed-by:John Abd-El-Malek <jam@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#690967}
Showing
Please register or sign in to comment