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