code: function removeResizeListener(resizeListener) {
          removeIdFromList(rootListener, resizeListener.id);
          if (a4p.isDefined(listenersIndex[resizeListener.id])) {
              delete listenersIndex[resizeListener.id];
          }
          if (a4p.isDefined(listenersIndex[resizeListener.name]) && (listenersIndex[resizeListener.name].id == resizeListener.id)) {
              delete listenersIndex[resizeListener.name];
          }
      }
docs: Remove a listener
  
  @param resizeListener