@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/index.js CHANGED
@@ -37365,6 +37365,7 @@ var DicomReceiver = class _DicomReceiver extends EventEmitter {
37365
37365
  /** Bubbles ASSOCIATION_RECEIVED from dcmrecv worker. */
37366
37366
  wireAssociationReceived(worker) {
37367
37367
  worker.dcmrecv.onEvent("ASSOCIATION_RECEIVED", (data) => {
37368
+ if (worker.finalized) return;
37368
37369
  worker.markAssociationReceived();
37369
37370
  this.emit("ASSOCIATION_RECEIVED", {
37370
37371
  associationId: worker.context?.associationId ?? "",