summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-06-01 08:38:34 (EDT)
committer pelder2006-06-01 08:38:34 (EDT)
commit14241acf0ba40f2020a055c568512a3fa6781a26 (patch)
treeb46637d52543cec7bfe27e3510c4a03b2cb39ac8
parent512c254e765c7e6ea93263898d473b4a82b53e7e (diff)
downloadorg.eclipse.jet-14241acf0ba40f2020a055c568512a3fa6781a26.zip
org.eclipse.jet-14241acf0ba40f2020a055c568512a3fa6781a26.tar.gz
org.eclipse.jet-14241acf0ba40f2020a055c568512a3fa6781a26.tar.bz2
[144869] shutdown the JET plug-in after all its services have been shutdown.
-rw-r--r--plugins/org.eclipse.jet/src/org/eclipse/jet/internal/InternalJET2Platform.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/InternalJET2Platform.java b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/InternalJET2Platform.java
index 108efdc..6f6d1d4 100644
--- a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/InternalJET2Platform.java
+++ b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/InternalJET2Platform.java
@@ -271,9 +271,6 @@ public class InternalJET2Platform extends EMFPlugin.EclipsePlugin
*/
public void stop(BundleContext context) throws Exception
{
- super.stop(context);
- plugin = null;
-
tagLibManager.shutdown();
tagLibManager = null;
@@ -297,6 +294,10 @@ public class InternalJET2Platform extends EMFPlugin.EclipsePlugin
savedStateManager.shutdown();
savedStateManager = null;
+
+ // shut down the plug-in itself last
+ super.stop(context);
+ plugin = null;
}
/**