我有:
MqttAsyncClient mq;
...
mq = new MqttAsyncClient(myServer1,"app1");
mq.connect();
...
//(1)
//doing something with mq (pub/sub)
...
mq.disconnect();
mq.close();
//(2)
现在我正在使用监控控制台,我看到:
- 在(1)中,3个Mqtt线程:MQTT REC、MQTT SND和MQTT Call
- (2)中,2个Mqtt线程:MQTT SND和MQTT Call
- 再过几秒钟后,只有 1 个线程 MQTT CALL
CALL 线程永远不会停止。怎么来的 ?