Commit fa7f9d19 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Removed delay before closing session. JM-329


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1629 b35dd754-fafc-0310-a699-88a17e54d16e
parent 98dc26ea
......@@ -134,10 +134,6 @@ public abstract class SocketReader implements Runnable {
if (session != null) {
Log.debug("Logging off " + session.getAddress() + " on " + connection);
try {
// Allow everything to settle down after a disconnect
// e.g. presence updates to avoid sending double
// presence unavailable's
Thread.sleep(3000);
session.getConnection().close();
}
catch (Exception e) {
......
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