summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcaustin2011-11-29 15:49:24 (EST)
committercaustin2011-11-29 15:49:24 (EST)
commitb39926c0ab2dd7974b66869b9cd310679d4fc926 (patch)
treeeb5bae07291ffab3296b4a72c3aeee49fa953be3
parent6e608e3f86e13b043ba22affc3a41b369ffb5cab (diff)
downloadeclipse.platform.ua-b39926c0ab2dd7974b66869b9cd310679d4fc926.zip
eclipse.platform.ua-b39926c0ab2dd7974b66869b9cd310679d4fc926.tar.gz
eclipse.platform.ua-b39926c0ab2dd7974b66869b9cd310679d4fc926.tar.bz2
Bug 361118 (v2) - Eclipse crashes in ieframe.dll when repeatedly openingv20111129-2049
the same link in an external browser
-rw-r--r--org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowser.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowser.java b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowser.java
index ef4ad36..774c217 100644
--- a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowser.java
+++ b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowser.java
@@ -391,6 +391,11 @@ public class EmbeddedBrowser {
String msg = "Error opening external Web browser"; //$NON-NLS-1$
HelpUIPlugin.logError(msg, t);
}
+ externalShell.getDisplay().asyncExec(new Runnable() {
+ public void run() {
+ externalShell.dispose();
+ }
+ });
}
});
e.browser = externalBrowser;