276277278279280281282283284285286
VirtualChannelSelectorImpl sel = entry.getKey(); ArrayList<AbstractSelectableChannel> channels = entry.getValue(); if( channels.remove( channel ) ) { sel.cancel( channel ); return; } } } finally{ selectors_mon.exit(); }