DescriptionFix crash when affiliated invalidation service becomes available
When an affiliated per-profile invalidation service becomes available,
the AffiliatedInvalidationServiceProviderImpl should:
1) tell consumers to stop using the device-global invalidation service
2) destroy the device-global invalidation service
These two steps were swapped, causing a crash as the consumers did not
get a chance to remove their handlers from the device-global
invalidation service before it is destroyed.
BUG=455504
TEST=Extended unit test to protect against regressions
Committed: https://crrev.com/b8fc9d2f40acbfc24ce00a6e139b61c6e6b0740e
Cr-Commit-Position: refs/heads/master@{#314833}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed comments. #Patch Set 3 : Fix compilation. #
Messages
Total messages: 13 (5 generated)
|