362614 NPE in accepting connection
This commit is contained in:
parent
971115a00a
commit
48cafe46a6
|
@ -92,7 +92,7 @@ public class SelectChannelConnector extends AbstractNIOConnector
|
|||
public void accept(int acceptorID) throws IOException
|
||||
{
|
||||
ServerSocketChannel server = _acceptChannel;
|
||||
if (server!=null && server.isOpen())
|
||||
if (server!=null && server.isOpen() && _manager.isStarted())
|
||||
{
|
||||
SocketChannel channel = _acceptChannel.accept();
|
||||
channel.configureBlocking(false);
|
||||
|
|
Loading…
Reference in New Issue