code: public void removeListener(InstallEventListener listener) {
          if (listenersMap != null) {
              for (Collection<InstallEventListener> listeners : listenersMap.values()) {
                  listeners.remove(listener);
              }
          }
      }
docs: Removes a listener from listenersMap
  
  @param listener Listener to remove