code: private void cleanUpAction() {
  
          try {
              m_model.deleteDescriptorIfNecessary();
          } catch (CmsException e) {
              LOG.error(m_messages.key(Messages.ERR_DELETING_DESCRIPTOR_0), e);
          }
          // unlock resource
          m_model.unlock();
      }
docs: Unlock all edited resources.