Commit 953a8150 authored by Jérôme Lebel's avatar Jérôme Lebel Committed by Commit Bot

[iOS] Stop the signin interaction coordinator in stopChromeMain

The Sign-in interaction coordinator needs to cancel when
-[MainController stopChromeMain] is called.

Bug: 1002834
Change-Id: Ideb74b457c983203508757863da6a7ce9afad075
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1807213Reviewed-by: default avatarMark Cogan <marq@chromium.org>
Commit-Queue: Jérôme Lebel <jlebel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#697129}
parent dd2af710
......@@ -964,6 +964,9 @@ enum class EnterTabSwitcherSnapshotResult {
- (void)stopChromeMain {
// The UI should be stopped before the models they observe are stopped.
[self.signinInteractionCoordinator cancel];
self.signinInteractionCoordinator = nil;
[_mainCoordinator stop];
_mainCoordinator = nil;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment