diff options
Diffstat (limited to 'chrome/browser/extensions/extension_disabled_ui.cc')
-rw-r--r-- | chrome/browser/extensions/extension_disabled_ui.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_disabled_ui.cc b/chrome/browser/extensions/extension_disabled_ui.cc index b66804f..de7f221 100644 --- a/chrome/browser/extensions/extension_disabled_ui.cc +++ b/chrome/browser/extensions/extension_disabled_ui.cc @@ -400,6 +400,9 @@ void ExtensionDisabledGlobalError::Observe( GlobalErrorServiceFactory::GetForProfile(service_->profile())-> RemoveGlobalError(this); + // Make sure we don't call RemoveGlobalError again. + registrar_.RemoveAll(); + if (type == extensions::NOTIFICATION_EXTENSION_LOADED_DEPRECATED) user_response_ = REENABLE; else if (type == extensions::NOTIFICATION_EXTENSION_REMOVED) |