summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-02-16 04:44:36 (EST)
committerEike Stepper2007-02-16 04:44:36 (EST)
commitcf72a5e6437863b07ae7250017be540eab315e95 (patch)
treeed87c4a54c1025db9e4b2eff8b73f912dd2351d2
parent030b1f5a5181c3edd3aa7ba639785cee48e2afb4 (diff)
downloadcdo-cf72a5e6437863b07ae7250017be540eab315e95.zip
cdo-cf72a5e6437863b07ae7250017be540eab315e95.tar.gz
cdo-cf72a5e6437863b07ae7250017be540eab315e95.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.net4j.tcp/src/org/eclipse/net4j/internal/tcp/TCPSelectorImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.net4j.tcp/src/org/eclipse/net4j/internal/tcp/TCPSelectorImpl.java b/plugins/org.eclipse.net4j.tcp/src/org/eclipse/net4j/internal/tcp/TCPSelectorImpl.java
index ffcdb37..91ca8e5 100644
--- a/plugins/org.eclipse.net4j.tcp/src/org/eclipse/net4j/internal/tcp/TCPSelectorImpl.java
+++ b/plugins/org.eclipse.net4j.tcp/src/org/eclipse/net4j/internal/tcp/TCPSelectorImpl.java
@@ -171,7 +171,7 @@ public class TCPSelectorImpl extends LifecycleImpl implements TCPSelector, Runna
operation.run();
}
- if (selector.select() > 0)
+ if (selector != null && selector.select() > 0)
{
Iterator<SelectionKey> it = selector.selectedKeys().iterator();
while (it.hasNext())