src/main/cpp/mqtt/MqttHandler.cpp
// TODO: figure out if the mqtt client needs to be deinitialized in some way
figure out if the mqtt client needs to be deinitialized in some way
figure out if the mqtt client needs to be deinitialized in some way
MqttHandler::~MqttHandler() {
    if (m_sockfd != -1) {
        close(m_sockfd);
    }
}
MqttHandler :: ~ MqttHandler ( ) { if ( m_sockfd != -1 ) { close ( m_sockfd ) ; } }
TODO: figure out if the mqtt client needs to be deinitialized in some way
TODO : figure out if the mqtt client needs to be deinitialized in some way