mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-25 08:58:30 +00:00
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…
x
Reference in New Issue
Block a user