@rangtao @ralf0131 

```
关于第三个问题,在2.6.1中ProtocolConfig类中,destroyAll方法包含如下sleep代码。2.6.2中将此部分sleep代码删除了。
```

see HeaderExchangeServer#isRunning:

```
    private boolean isRunning() {
        Collection<Channel> channels = getChannels();
        for (Channel channel : channels) {
            if (DefaultFuture.hasFuture(channel)) {
             /**
             *  If there are any client connections,
             *  our server should be running.
             */
             if (channel.isConnected()) {
                return true;
            }
        }
```
If there is a client connection, it will automatically wait, there was a bug 
before, so will invoke sleep


[ Full content available at: 
https://github.com/apache/incubator-dubbo/issues/2435 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to