Skip to content

Commit

Permalink
fix: set default value false for reconnecting in constructor (#1674) (#…
Browse files Browse the repository at this point in the history
…1678)

Co-authored-by: david.monz <[email protected]>
Co-authored-by: Daniel Lando <[email protected]>
  • Loading branch information
3 people authored Aug 30, 2023
1 parent 1d351b8 commit 312b57b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,8 @@ export default class MqttClient extends TypedEventEmitter<MqttClientEventCallbac
this.connected = false
// Are we disconnecting?
this.disconnecting = false
// Are we reconnecting?
this.reconnecting = false
// Packet queue
this.queue = []
// connack timer
Expand Down

0 comments on commit 312b57b

Please sign in to comment.