inre / rust-mq

RustMQ is the MQTT client written on pure Rust.
MIT License
190 stars 28 forks source link

DISCONNECT never called #26

Open drahnr opened 7 years ago

drahnr commented 7 years ago

In the codebase the call to self_disconnect is commented. Why? This will prevent sending any kind of proper DISCONNECT package to the broker.

https://github.com/inre/rust-mq/blob/master/mqttc/src/client.rs#L238