127128129130131132133134135136137138
{ for (EventHandler handler : handlerList) { if (handler instanceof SessionEventHandler) { SessionEventHandler sessionHandler = (SessionEventHandler) handler; if (sessionHandler.getSession().equals(session)) { removeList.add(handler); } } }