/** * Stop the bundle. Nothing to stop for now. * * @param bundleContext <tt>BundleContext</tt> provided by OSGi framework * @throws Exception if something goes wrong during stop */ public void stop(BundleContext bundleContext) throws Exception { if (logger.isDebugEnabled()) logger.debug("Update checker [STOPPED]"); if (mUpdateExecutor != null) { mUpdateExecutor.shutdown(); mUpdateExecutor = null; } }
private void shutdown() { for (PooledFatPipe child : children) { child.shutdown(0, TimeUnit.MILLISECONDS); } executor.shutdown(); }