code: public static void stop(ClassLoader loader)
    {
      for (; loader != null; loader = loader.getParent()) {
        if (loader instanceof EnvironmentClassLoader) {
          ((EnvironmentClassLoader) loader).stop();
          return;
        }
      }
  
      ArrayList<EnvLoaderListener> listeners;
      listeners = new ArrayList<EnvLoaderListener>();
      listeners.addAll(_globalEnvironmentListeners);
      _globalEnvironmentListeners.clear();
  
      for (int i = 0; i < listeners.size(); i++) {
        EnvLoaderListener listener = listeners.get(i);
  
        listener.environmentStop(null);
      }
    }
docs: Starts the current environment.