Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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