Commit cc25a63d authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Remove user from room when cleaning up idle http sessions. JM-1392

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/branches@10513 b35dd754-fafc-0310-a699-88a17e54d16e
parent 820e47ca
...@@ -753,7 +753,7 @@ public class HttpSession extends LocalClientSession { ...@@ -753,7 +753,7 @@ public class HttpSession extends LocalClientSession {
} }
public void systemShutdown() { public void systemShutdown() {
((HttpSession) session).closeConnection(); close();
} }
public void deliver(Packet packet) throws UnauthorizedException { public void deliver(Packet packet) throws UnauthorizedException {
......
...@@ -46,7 +46,6 @@ public class HttpSessionManager { ...@@ -46,7 +46,6 @@ public class HttpSessionManager {
public void sessionClosed(HttpSession session) { public void sessionClosed(HttpSession session) {
sessionMap.remove(session.getStreamID().getID()); sessionMap.remove(session.getStreamID().getID());
sessionManager.removeSession(session);
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment