DescriptionUnregister from the InstallationNotifier in the dealloc.
When the NativeAppsCollectionViewController's parent controller is dismissed,
|isMovingFromParentViewController| is false.
The consequence is that the NativeAppsCollectionViewController was not unregistering itself from the InstallationNotifier. This led to crashes.
TEST=On iPhone:
1/ Open the Google Apps settings menu (Settings > Google Apps).
2/ Click on "Install" on one of the app (at least one app must not
be installed).
3/ From that AppStore UI, actually start the installation of one
of the app.
4/ As the installation is happening, close the AppStore UI, and
close the Google Apps menu by pressing the "FINISHED" button
(*not* the back arrow).
5/ Wait for the download to finish without switching to an other
app.
6/ Notice that Chrome crashes.
BUG=701541
Review-Url: https://codereview.chromium.org/2760643002
Cr-Commit-Position: refs/heads/master@{#457781}
Committed: https://chromium.googlesource.com/chromium/src/+/1c24c4cd11bfc1e75e7cb02b18d41d075d1fea67
Patch Set 1 #
Messages
Total messages: 9 (5 generated)
|