code: public void removeListener(BaseListener listener, boolean bFreeFlag)
      {
          if (m_nextListener != null)
          {
              if (m_nextListener == listener)
              {
                  m_nextListener = listener.getNextListener();
                  listener.unlink(bFreeFlag);   // remove theBehavior from the linked list
              }
              else
                  m_nextListener.removeListener(listener, bFreeFlag);
          } // Remember to free the listener after removing it!
      }
docs: Remove a specific listener from the chain.
  @param listener The listener to remove.
  @param bDeleteFlag If true, free the listener.