summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Liebig2011-09-27 04:46:12 -0400
committerStefan Liebig2011-09-27 04:46:12 -0400
commit5523b22f845fa2ab12f42151e9707204c197aadb (patch)
tree17cd5612a07e3692ab01645921d0f47012969fda
parente3b1baf5b457ec6bf1074dfa998569345700f09a (diff)
downloadorg.eclipse.riena-5523b22f845fa2ab12f42151e9707204c197aadb.zip
org.eclipse.riena-5523b22f845fa2ab12f42151e9707204c197aadb.tar.gz
org.eclipse.riena-5523b22f845fa2ab12f42151e9707204c197aadb.tar.xz
https://bugs.eclipse.org/bugs/show_bug.cgi?id=358877 -WeakRef$Remover is not stopped when server webapp/war is undeployed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=358874 -DeferredLoggingForwarder is not stopped when server webapp/war is undeployed
-rw-r--r--org.eclipse.riena.core/src/org/eclipse/riena/internal/core/Activator.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.riena.core/src/org/eclipse/riena/internal/core/Activator.java b/org.eclipse.riena.core/src/org/eclipse/riena/internal/core/Activator.java
index 1d44c8c..4689e45 100644
--- a/org.eclipse.riena.core/src/org/eclipse/riena/internal/core/Activator.java
+++ b/org.eclipse.riena.core/src/org/eclipse/riena/internal/core/Activator.java
@@ -17,6 +17,7 @@ import org.osgi.service.log.LogService;
import org.eclipse.core.runtime.ISafeRunnable;
import org.eclipse.core.runtime.SafeRunner;
+import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.riena.core.Log4r;
import org.eclipse.riena.core.RienaConstants;
@@ -64,6 +65,7 @@ public class Activator extends RienaPlugin {
@Override
@IgnoreFindBugs(value = "ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD", justification = "that is the eclipse way")
public void stop(final BundleContext context) throws Exception {
+ Job.getJobManager().cancel(getBundle().getSymbolicName());
active = false;
startupActionsExecuted = false;
Activator.plugin = null;