Closed mhball closed 4 years ago
The following Kotlin snippet prints true.
mqttClient.disconnect { if(it.succeeded()) { println(mqttClient.isConnected) }
It seems an intentional disconnect doesn't set the isConnected flag to false.
actually it does but once the TCP connection is closed, I think it should be done before
See https://github.com/vert-x3/vertx-mqtt/pull/179
The following Kotlin snippet prints true.
It seems an intentional disconnect doesn't set the isConnected flag to false.