Fix appcache crash if QuotaManager is destroyed in NotifyAppCacheDestroyed
It's possible the AppCacheQuotaClient's callback is holding the last reference to QuotaManager, which means QuotaManager gets destroyed when those callbacks are run. This causes AppCacheQuotaClient to be destroyed when it is still executing code in NotifyAppCacheDestroyed. Bug: 1003298 Change-Id: I07afe921c10f34c9bdee8c020b7194e659337281 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827490 Commit-Queue: Clark DuVall <cduvall@chromium.org> Commit-Queue: Victor Costan <pwnall@chromium.org> Reviewed-by:Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#700381}
Showing
Please register or sign in to comment