You are reading a single comment by @PaddeK and its replies.
Click here to read the full conversation.
-
@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.
Hmm looks like the close() for the apServer closes the MQTT connection too.