Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Issue 2760643002: Unregister from the InstallationNotifier in the dealloc. (Closed)

Created:
3 years, 9 months ago by jif
Modified:
3 years, 9 months ago
Reviewers:
lpromero
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Unregister 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -6 lines) Patch
M ios/chrome/browser/ui/settings/native_apps_collection_view_controller.mm View 2 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
jif
ptal
3 years, 9 months ago (2017-03-17 15:23:55 UTC) #3
lpromero
lgtm
3 years, 9 months ago (2017-03-17 15:47:43 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2760643002/1
3 years, 9 months ago (2017-03-17 15:48:11 UTC) #6
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 16:01:28 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/1c24c4cd11bfc1e75e7cb02b18d4...

Powered by Google App Engine
This is Rietveld 408576698