code: public void destroy() {
  
          CmsXmlContentUgcApi.SERVICE.destroySession(m_content.getSessionId(), new AsyncCallback<Void>() {
  
              public void onFailure(Throwable caught) {
  
                  throw new RuntimeException(caught);
  
              }
  
              public void onSuccess(Void result) {
  
                  // do nothing
  
              }
          });
  
      }
docs: Destroys the session.<p>