Index: ios/clean/chrome/browser/ui/context_menu/web_context_menu_coordinator.mm |
diff --git a/ios/clean/chrome/browser/ui/context_menu/web_context_menu_coordinator.mm b/ios/clean/chrome/browser/ui/context_menu/web_context_menu_coordinator.mm |
index 9e375d992894f9c2e57da18cb873341b139fc832..a86ea5975aa03677e54c3b615f5e1fa223065e11 100644 |
--- a/ios/clean/chrome/browser/ui/context_menu/web_context_menu_coordinator.mm |
+++ b/ios/clean/chrome/browser/ui/context_menu/web_context_menu_coordinator.mm |
@@ -11,6 +11,7 @@ |
#import "ios/clean/chrome/browser/ui/context_menu/context_menu_view_controller.h" |
#import "ios/shared/chrome/browser/ui/browser_list/browser.h" |
#import "ios/shared/chrome/browser/ui/commands/command_dispatcher.h" |
+#import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator+internal.h" |
#if !defined(__has_feature) || !__has_feature(objc_arc) |
#error "This file requires ARC support." |
@@ -54,6 +55,7 @@ - (void)start { |
- (void)stop { |
[self.browser->dispatcher() stopDispatchingToTarget:self]; |
[super stop]; |
+ [self.parentCoordinator removeChildCoordinator:self]; |
} |
#pragma mark - ContextMenuCommands |