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

Added a very small delay before closing the connection once an account was removed.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6315 b35dd754-fafc-0310-a699-88a17e54d16e
parent a502ecec
......@@ -228,6 +228,8 @@ public class IQRegisterHandler extends IQHandler implements ServerFeaturesProvid
reply = IQ.createResultIQ(packet);
session.process(reply);
// Take a quick nap so that the client can process the result
Thread.sleep(200);
// Close the user's connection
session.getConnection().close();
// The reply has been sent so clean up the variable
......
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