public void unregisterDynamicRegionListener(DynamicRegionListener listener) {
    synchronized (regionListenerLock) {
      List oldListeners = regionListeners;
      if (oldListeners.contains(listener)) {
        List newListeners = new ArrayList(oldListeners);
        if (newListeners.remove(listener)) {
          regionListeners = newListeners;
        }
      }
    }
  }
Unregisters a {@code DynamicRegionListener} for callbacks.

@param listener The {@code DynamicRegionListener} to be unregistered
geode-core/src/main/java/org/apache/geode/cache/DynamicRegionFactory.java