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

Unified Diff: ios/chrome/app/main_controller.mm

Issue 2883323002: [ios] Fix clean shutdown of Chrome on iOS. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/chrome/app/spotlight/topsites_spotlight_manager.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/app/main_controller.mm
diff --git a/ios/chrome/app/main_controller.mm b/ios/chrome/app/main_controller.mm
index a45ae0a1aa6c73f7d89b2e8ee6fdd4a70cb3a493..f40141dbaf80b5168b7514e78566638829b0853c 100644
--- a/ios/chrome/app/main_controller.mm
+++ b/ios/chrome/app/main_controller.mm
@@ -953,6 +953,8 @@ enum class StackViewDismissalMode { NONE, NORMAL, INCOGNITO };
}
- (void)stopChromeMain {
+ _spotlightManager.reset();
rohitrao (ping after 24h) 2017/05/16 16:41:02 There's no guarantee that this call will destroy t
+ _browserViewWrangler.reset();
sdefresne 2017/05/16 16:44:40 There is no guarantee that this will destroy _brow
_chromeMain.reset();
}
« no previous file with comments | « no previous file | ios/chrome/app/spotlight/topsites_spotlight_manager.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698