docs: public void destroy() {
          setState(STATE_STOPPED);
          if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
              Tr.event(tc, "destroy: " + this);
          }
          this.channelFactory.removeChannel(getName());
          this.channelFactory = null;
          this.myConfig = null;
          this.myObjectFactory = null;
      }