• Hmm looks like the close() for the apServer closes the MQTT connection too.

  • @PaddeK But the MQTT makes a connection during

    client.connect();
    

    and not during

    var client = require("MQTT").create(server, options /*optional*/);
    

    Right? In that case, client connection is happening after the close() call.

About

Avatar for sureshkm @sureshkm started