Fix ThumbnailProviderImpl destroy chain.
Add safety checks to the following classes to make sure they work better during destroy: - ThumbnailProviderImpl - Cancel all requests after destroy and do not use any results given. - BitmapCache - Do not add bitmaps to the cache after destroy (real exception). - ThumbnailDiskStorage - Do not take requests after destroy and do not return results after destroy. Bug: 934515 Change-Id: Id2bbac832fd4b9c81ae81ee806f66494eda59e16 Reviewed-on: https://chromium-review.googlesource.com/c/1482590 Commit-Queue: David Trainor <dtrainor@chromium.org> Reviewed-by:Theresa <twellington@chromium.org> Cr-Commit-Position: refs/heads/master@{#634956}
Showing
Please register or sign in to comment