Пример #1
0
 @Override
 public void stop(BundleContext context) throws Exception {
   plugin = null;
   imageCache.dispose();
   imageCache = null;
   super.stop(context);
 }
Пример #2
0
 /*
  * (non-Javadoc)
  * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
  */
 public void stop(BundleContext context) throws Exception {
   imageCache.dispose();
   imageCache = null;
 }