Index: chrome/browser/ui/gtk/certificate_dialogs.cc |
=================================================================== |
--- chrome/browser/ui/gtk/certificate_dialogs.cc (revision 79759) |
+++ chrome/browser/ui/gtk/certificate_dialogs.cc (working copy) |
@@ -107,6 +107,11 @@ |
} |
Exporter::~Exporter() { |
+ // 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 (select_file_dialog_.get()) |
+ select_file_dialog_->ListenerDestroyed(); |
+ |
x509_certificate_model::DestroyCertChain(&cert_chain_list_); |
} |