code: protected void removePendingRequestForType(ResourceRequestInfo req) {
      Context c = getContext(req.getType());
      Object removed = Utilities.removeReference(c.pendingRequests, req);
      if (removed != null) {
        c.pendingRequestCount--;
      }
    }
docs: Remove a pending resource request for a resource type
  
  @param req Resource request to remove