@ubercode/dcmtk 0.16.0 → 0.16.1

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/servers.js CHANGED
@@ -3736,6 +3736,7 @@ var DicomReceiver = class _DicomReceiver extends EventEmitter {
3736
3736
  /** Bubbles ASSOCIATION_RECEIVED from dcmrecv worker. */
3737
3737
  wireAssociationReceived(worker) {
3738
3738
  worker.dcmrecv.onEvent("ASSOCIATION_RECEIVED", (data) => {
3739
+ if (worker.finalized) return;
3739
3740
  worker.markAssociationReceived();
3740
3741
  this.emit("ASSOCIATION_RECEIVED", {
3741
3742
  associationId: worker.context?.associationId ?? "",