NPE protection
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2032 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
79c83a7184
commit
3a18729772
|
@ -450,7 +450,7 @@ public class SelectChannelEndPoint extends ChannelEndPoint implements Runnable,
|
|||
}
|
||||
else
|
||||
{
|
||||
if (_key.isValid())
|
||||
if (_key!=null && _key.isValid())
|
||||
_key.interestOps(0);
|
||||
else
|
||||
_key=null;
|
||||
|
|
Loading…
Reference in New Issue