I am using the OSGi framework Knopflerfish, since I can now call the bundle to do something by register a service, do I need to remove the service?
Because I cannot find any way to remove the service. By checking the services in BundleContext with the length of "getAllService()" and ServiceTracker.getServices(), I can see the total number of service is increasing, even I call "ungetService(ServiceReference)".
So is it necessary to remove the service or "ungetService" is enough for that? How can I remove the service if this is necessary?