Esempio n. 1
0
 /**
  * This method shuts down this service. It unregisters the service, stops receiving service
  * events, and calls the superclass shutdown() method to finish the shutdown process.
  *
  * @return void
  */
 @Override
 public void shutdown(RequestMonitor requestMonitor) {
   getSession().removeServiceEventListener(this);
   fFetchCPUInfoCache.reset();
   fLoadInfoRequestCache.clear();
   unregister();
   super.shutdown(requestMonitor);
 }
Esempio n. 2
0
 /* (non-Javadoc)
  * @see org.eclipse.cdt.dsf.service.AbstractDsfService#shutdown(org.eclipse.cdt.dsf.concurrent.RequestMonitor)
  */
 @Override
 public void shutdown(RequestMonitor rm) {
   unregister();
   //        getSession().removeServiceEventListener(this);
   super.shutdown(rm);
 }
 @Override
 public void shutdown(RequestMonitor rm) {
   unregister();
   super.shutdown(rm);
 }