Forced the TCP closing on DISCONNECT message

This commit is contained in:
andrea
2012-08-25 11:32:30 +02:00
parent ed78372fd0
commit 61f0e261bf
@@ -202,6 +202,9 @@ public class MQTTHandler extends IoHandlerAdapter implements INotifier {
//cleanup topic subscriptions //cleanup topic subscriptions
m_messaging.removeSubscriptions(clientID); m_messaging.removeSubscriptions(clientID);
} }
//close the TCP connection
session.close(true);
} }
@Override @Override