docs: @Override
    public void end(boolean completeScope) {
  
  
      setCompleteScope(completeScope);
  
      isActive = false;
      isEnded = true;
  
      if (hasReplacedParent()) {
        getParent().replacedBy = null;
      }
  
      performOperation(PvmAtomicOperation.ACTIVITY_NOTIFY_LISTENER_END);
    }