Skip to content

Commit ac4b2cf

Browse files
committed
Fix connection end param
1 parent 42b8e93 commit ac4b2cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-iot-client-mqtt/arduino-iot-client-mqtt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class ArduinoClientMqtt {
191191
}
192192

193193
try {
194-
this.connection.end();
194+
this.connection.end(true);
195195
} catch (error) {
196196
return reject(error);
197197
}

0 commit comments

Comments
 (0)