code: public static void reset() {
  		if (DebugUtil.isDebugFeaturesEnabled()) {
  			UIContext context = getCurrent();
  			ALL_ACTIVE_CONTEXTS.remove(context);
  		}
  
  		CONTEXT_STACK.remove();
  	}
docs: Clears the UIContext stack. This method is called by internal WComponent containers (e.g. WServlet) after a
  request has been processed.