delete redundant addBean(serverChannel) invoke
Signed-off-by: cao tianze <hnrcao@qq.com>
This commit is contained in:
parent
f3a4ab1ae7
commit
0a97b66b14
|
@ -319,8 +319,6 @@ public class ServerConnector extends AbstractNetworkConnector
|
|||
_localPort = serverChannel.socket().getLocalPort();
|
||||
if (_localPort <= 0)
|
||||
throw new IOException("Server channel not bound");
|
||||
|
||||
addBean(serverChannel);
|
||||
}
|
||||
|
||||
serverChannel.configureBlocking(true);
|
||||
|
|
Loading…
Reference in New Issue