commit | 1ce47fd5845adb26f51fc956c59c123ca3a2e197 | [log] [tgz] |
---|---|---|
author | Stephane Frenot <sfrenot@apache.org> | Mon Oct 02 13:51:53 2006 +0000 |
committer | Stephane Frenot <sfrenot@apache.org> | Mon Oct 02 13:51:53 2006 +0000 |
tree | d8abdff1d9ee778340ad245dee5b2924cb308f91 | |
parent | ec7e175a8b4fa337d1482d66ed0f6fe488663c1b [diff] |
git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@452041 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/mosgi.managedelements.osgiprobes.tab/src/main/java/org/apache/felix/mosgi/managedelements/osgiprobes/tab/OsgiProbesTabUI.java b/mosgi.managedelements.osgiprobes.tab/src/main/java/org/apache/felix/mosgi/managedelements/osgiprobes/tab/OsgiProbesTabUI.java index c5c7ea7..2e315f7 100644 --- a/mosgi.managedelements.osgiprobes.tab/src/main/java/org/apache/felix/mosgi/managedelements/osgiprobes/tab/OsgiProbesTabUI.java +++ b/mosgi.managedelements.osgiprobes.tab/src/main/java/org/apache/felix/mosgi/managedelements/osgiprobes/tab/OsgiProbesTabUI.java
@@ -68,10 +68,14 @@ ////////////////////////////////////////// public void registerServicePlugin(){ sreg = m_context.registerService(Plugin.class.getName(), this, null); + } public void unregisterServicePlugin(){ - sreg.unregister(); + if (sreg!=null){ + sreg.unregister(); + sreg=null; + } } public String pluginLocation(){