Author: nbelaevski
Date: 2010-11-06 06:03:23 -0400 (Sat, 06 Nov 2010)
New Revision: 19977
Modified:
trunk/core/impl/src/main/java/org/richfaces/application/push/impl/SessionManagerImpl.java
Log:
https://jira.jboss.org/browse/RF-9157
Modified:
trunk/core/impl/src/main/java/org/richfaces/application/push/impl/SessionManagerImpl.java
===================================================================
---
trunk/core/impl/src/main/java/org/richfaces/application/push/impl/SessionManagerImpl.java 2010-11-05
21:49:56 UTC (rev 19976)
+++
trunk/core/impl/src/main/java/org/richfaces/application/push/impl/SessionManagerImpl.java 2010-11-06
10:03:23 UTC (rev 19977)
@@ -68,9 +68,9 @@
}
public void removePushSession(Session session) {
- // TODO - possible null pointer exception
- sessionMap.remove(session.getId());
+ // XXX - possible null pointer exception
if (session != null) {
+ sessionMap.remove(session.getId());
sessionQueue.remove(session);
}
}