-
Anand K Mistry authored
Because ResourceBundleFileLoader waits for both a mojo::Remote and mojo::Receiver to disconnect before destroying itself, it's possible for the ResourceBundleFileLoader to still be alive but |client_| to be disconnected. Therefore when ResourceBundleFileLoader::OnMimeTypeRead() runs after |client_| is disconnected, attempts to call |client_| Mojo methods will either DCHECK or crash. Bug: 1156958 Change-Id: I4320c26a75dce2a73509d3b0653c443df0c77ac2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2584725 Auto-Submit: Anand K Mistry <amistry@chromium.org> Reviewed-by:
Luciano Pacheco <lucmult@chromium.org> Reviewed-by:
Finnur Thorarinsson <finnur@chromium.org> Commit-Queue: Finnur Thorarinsson <finnur@chromium.org> Cr-Commit-Position: refs/heads/master@{#836113}
bf50b286