If we end up with a selectable channel in our selection set that we no

longer know about, request that it be given the boot when it rears its
ugly head.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3643 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2005-07-06 01:00:19 +00:00
parent 90ac82e9c6
commit 9f470a4205
@@ -445,6 +445,10 @@ public class ConnectionManager extends LoopingThread
if (handler == null) {
Log.warning("Received network event but have no " +
"registered handler [selkey=" + selkey + "].");
// request that this key be removed from our selection
// set, which normally happens automatically but for
// some reason didn't
selkey.cancel();
continue;
}