Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonrad Kolosowski2004-06-23 13:31:03 +0000
committerKonrad Kolosowski2004-06-23 13:31:03 +0000
commite9e0222acc453817e2ea964d610ff1e886238774 (patch)
treeae5a004c19f79e54547e11064be51ef44cb6021d
parent6485ef7547e0efaf86cb8233b2704ab0b9827128 (diff)
downloadeclipse.platform.ua-e9e0222acc453817e2ea964d610ff1e886238774.tar.gz
eclipse.platform.ua-e9e0222acc453817e2ea964d610ff1e886238774.tar.xz
eclipse.platform.ua-e9e0222acc453817e2ea964d610ff1e886238774.zip
68215 stack trace on shutdown or Display created on shutdown
-rw-r--r--org.eclipse.help.base/src/org/eclipse/help/internal/base/BaseHelpSystem.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/org.eclipse.help.base/src/org/eclipse/help/internal/base/BaseHelpSystem.java b/org.eclipse.help.base/src/org/eclipse/help/internal/base/BaseHelpSystem.java
index 7754f76e3..81909150b 100644
--- a/org.eclipse.help.base/src/org/eclipse/help/internal/base/BaseHelpSystem.java
+++ b/org.eclipse.help.base/src/org/eclipse/help/internal/base/BaseHelpSystem.java
@@ -117,15 +117,17 @@ public final class BaseHelpSystem {
System.out.println("Base Help System is shutting down."); //$NON-NLS-1$
}
// close any browsers created
- BrowserManager.getInstance().closeAll();
+ // BrowserManager.getInstance().closeAll();
if (getInstance().searchManager != null) {
getInstance().searchManager.close();
}
- // stop the web apps
- WebappManager.stop("help"); //$NON-NLS-1$
- if (getMode() != MODE_WORKBENCH)
- WebappManager.stop("helpControl"); //$NON-NLS-1$
+ if (getInstance().webappStarted) {
+ // stop the web apps
+ WebappManager.stop("help"); //$NON-NLS-1$
+ if (getMode() != MODE_WORKBENCH)
+ WebappManager.stop("helpControl"); //$NON-NLS-1$
+ }
if (HelpBasePlugin.DEBUG) {
System.out.println("Help System is shut down."); //$NON-NLS-1$

Back to the top