Commit 238c4138 authored by Dave Cridland's avatar Dave Cridland

Merge pull request #183 from aultuser/master

OF-881: NIOConnection Thread Deadlock when two clients in each others ro...
parents ed963634 1d9686e9
...@@ -216,8 +216,11 @@ public class NIOConnection implements Connection { ...@@ -216,8 +216,11 @@ public class NIOConnection implements Connection {
session.setStatus(Session.STATUS_CLOSED); session.setStatus(Session.STATUS_CLOSED);
} }
closed = true; closed = true;
notifyCloseListeners(); // clean up session, etc.
} }
// OF-881: Notify any close listeners after the synchronized block has completed.
notifyCloseListeners(); // clean up session, etc.
ioSession.close(false); // async via MINA ioSession.close(false); // async via MINA
} }
......
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