Commit df0dde56 authored by Tom Evans's avatar Tom Evans Committed by tevans

OF-653: Avoid deadlock between session reaper and BOSH terminate request

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13557 b35dd754-fafc-0310-a699-88a17e54d16e
parent 78ab43ef
...@@ -1000,10 +1000,8 @@ public class HttpSession extends LocalClientSession { ...@@ -1000,10 +1000,8 @@ public class HttpSession extends LocalClientSession {
} }
private void closeSession() { private void closeSession() {
synchronized (this) { if (isClosed) { return; }
if (isClosed) { return; } isClosed = true;
isClosed = true;
}
// close connection(s) and deliver pending elements (if any) // close connection(s) and deliver pending elements (if any)
synchronized (connectionQueue) { synchronized (connectionQueue) {
......
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