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:
Greg Wilkins 2010-06-21 11:40:57 +00:00
parent 79c83a7184
commit 3a18729772
1 changed files with 1 additions and 1 deletions

View File

@ -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;