Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2010-09-22 15:13:33 +0000
committerDJ Houghton2010-09-22 15:13:33 +0000
commit02c8edd288911cf42675debbb593120b56e0b8e2 (patch)
tree0e0588d820e7ca08bde32a283e57dab907c3c831
parentab587d08fbf434ba4225f687ec77e0e61ffbef70 (diff)
downloadrt.equinox.p2-02c8edd288911cf42675debbb593120b56e0b8e2.tar.gz
rt.equinox.p2-02c8edd288911cf42675debbb593120b56e0b8e2.tar.xz
rt.equinox.p2-02c8edd288911cf42675debbb593120b56e0b8e2.zip
Bug 325975 - [ui] [admin] NPE during shutdown
-rw-r--r--bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ProvAdminUIActivator.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ProvAdminUIActivator.java b/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ProvAdminUIActivator.java
index 0b93343fa..bc60857b2 100644
--- a/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ProvAdminUIActivator.java
+++ b/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ProvAdminUIActivator.java
@@ -26,7 +26,6 @@ import org.eclipse.jface.util.IPropertyChangeListener;
import org.eclipse.jface.util.PropertyChangeEvent;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
-import org.osgi.framework.ServiceRegistration;
/**
* Activator class for the admin UI.
@@ -39,7 +38,6 @@ public class ProvAdminUIActivator extends AbstractUIPlugin {
public static final String PLUGIN_ID = "org.eclipse.equinox.internal.provisional.p2.ui.admin"; //$NON-NLS-1$
public static final String PERSPECTIVE_ID = "org.eclipse.equinox.internal.provisional.p2.ui.admin.ProvisioningPerspective"; //$NON-NLS-1$
- private ServiceRegistration certificateUIRegistration;
private IPropertyChangeListener preferenceListener;
Policy policy;
@@ -88,7 +86,6 @@ public class ProvAdminUIActivator extends AbstractUIPlugin {
public void stop(BundleContext bundleContext) throws Exception {
plugin = null;
- certificateUIRegistration.unregister();
getPreferenceStore().removePropertyChangeListener(preferenceListener);
super.stop(bundleContext);
policy = null;

Back to the top