@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.cjs CHANGED
@@ -3761,6 +3761,7 @@ var DicomReceiver = class _DicomReceiver extends events.EventEmitter {
3761
3761
  /** Bubbles ASSOCIATION_RECEIVED from dcmrecv worker. */
3762
3762
  wireAssociationReceived(worker) {
3763
3763
  worker.dcmrecv.onEvent("ASSOCIATION_RECEIVED", (data) => {
3764
+ if (worker.finalized) return;
3764
3765
  worker.markAssociationReceived();
3765
3766
  this.emit("ASSOCIATION_RECEIVED", {
3766
3767
  associationId: worker.context?.associationId ?? "",