@Override
  public void dispatchListenerEvent(EnumListenerEvent op, InternalCacheEvent event) {
    // don't dispatch the event if the interest policy forbids it
    if (hasListener()) {
      if (event.getOperation().isEntry()) {
        EntryEventImpl ev = (EntryEventImpl) event;
        if (!ev.getInvokePRCallbacks()) {
          if (getSubscriptionAttributes()
              .getInterestPolicy() == InterestPolicy.CACHE_CONTENT) {
            if (logger.isTraceEnabled(LogMarker.DM_BRIDGE_SERVER_VERBOSE)) {
              logger.trace(LogMarker.DM_BRIDGE_SERVER_VERBOSE,
                  "not dispatching PR event in this member as there is no interest in it");
            }
            return;
          }
        }
      }
      super.dispatchListenerEvent(op, event);
    }
  }
This method checks whether this PartitionedRegion is eligible for the destruction or not. It
first gets the prConfig for this region, and if it NULL, it sends a
destroyPartitionedRegionLocally call as a pure precautionary measure. If it is not null, we
check if this call is intended for this region only and there is no new PartitionedRegion
creation with the same name. This check fixes, bug # 34621.

@return true, if it is eligible for the region destroy
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java