Skip to content

Commit

Permalink
reverted changes
Browse files Browse the repository at this point in the history
  • Loading branch information
HoneyryderChuck committed Nov 14, 2017
1 parent 21a4172 commit 6d2534e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions ext/nio4r/org/nio4r/Selector.java
Expand Up @@ -208,13 +208,7 @@ public synchronized IRubyObject select(ThreadContext context, IRubyObject timeou
Iterator selectedKeys = this.selector.selectedKeys().iterator();
while(selectedKeys.hasNext()) {
SelectionKey key = (SelectionKey)selectedKeys.next();
try {
processKey(key);
} catch(CancelledKeyException ie) {
continue;
// TODO: what to do?
//throw runtime.newIOError(ie.getLocalizedMessage());
}
processKey(key);

selectedKeys.remove();

Expand Down

0 comments on commit 6d2534e

Please sign in to comment.