code: public void removeEventListener(EventType eventType, Consumer<PrimitiveEvent> listener) {
      executor.execute(() -> eventListeners.computeIfAbsent(eventType.canonicalize(), e -> Sets.newLinkedHashSet()).remove(listener));
    }
docs: Removes an event listener from the session.
  
  @param listener the event listener callback