wro4j-core/src/main/java/ro/isdc/wro/manager/WroManager.java
public final void destroy() {
    try {
      cacheSchedulerHelper.destroy();
      modelSchedulerHelper.destroy();
      cacheStrategy.destroy();
      modelFactory.destroy();
      resourceWatcher.destroy();
      destroyProcessors();
    } catch (final Exception e) {
      LOG.error("Exception occured during manager destroy!", e);
    } finally {
      LOG.debug("WroManager destroyed");
    }
  }
public final void destroy() {
    try {
      cacheSchedulerHelper.destroy();
      modelSchedulerHelper.destroy();
      cacheStrategy.destroy();
      modelFactory.destroy();
      resourceWatcher.destroy();
      destroyProcessors();
    } catch (final Exception e) {
      LOG.error("Exception occured during manager destroy!", e);
    } finally {
      LOG.debug("WroManager destroyed");
    }
  }
Called when {@link WroManager} is being taken out of service.