diff options
-rw-r--r-- | ui/views/controls/menu/menu_host.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/views/controls/menu/menu_host.cc b/ui/views/controls/menu/menu_host.cc index 44d2f62..4a887e5 100644 --- a/ui/views/controls/menu/menu_host.cc +++ b/ui/views/controls/menu/menu_host.cc @@ -109,6 +109,9 @@ void MenuHost::OnNativeWidgetDestroyed() { } void MenuHost::OnOwnerClosing() { + if (destroying_) + return; + MenuController* menu_controller = submenu_->GetMenuItem()->GetMenuController(); if (menu_controller && !menu_controller->drag_in_progress()) |