| Index: chrome/browser/extensions/extensions_ui.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/extensions_ui.cc (revision 79409)
|
| +++ chrome/browser/extensions/extensions_ui.cc (working copy)
|
| @@ -847,6 +847,11 @@
|
| }
|
|
|
| ExtensionsDOMHandler::~ExtensionsDOMHandler() {
|
| + // There may be pending file dialogs, we need to tell them that we've gone
|
| + // away so they don't try and call back to us.
|
| + if (load_extension_dialog_.get())
|
| + load_extension_dialog_->ListenerDestroyed();
|
| +
|
| if (pack_job_.get())
|
| pack_job_->ClearClient();
|
|
|
|
|