mqtt 5.3.3 → 5.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mqtt.js CHANGED
@@ -18683,9 +18683,9 @@ var mqtt = (() => {
18683
18683
  break;
18684
18684
  }
18685
18685
  }
18686
+ this.removeListener("close", remove);
18686
18687
  if (allProcessed) {
18687
18688
  clearStoreProcessing();
18688
- this.removeListener("close", remove);
18689
18689
  this._invokeAllStoreProcessingQueue();
18690
18690
  this.emit("connect", packet);
18691
18691
  } else {