@cornerstonejs/core 2.17.5 → 2.17.6

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.
@@ -318,6 +318,9 @@ export function cancelLoadAll() {
318
318
  const requests = requestPool[type];
319
319
  Object.keys(requests).forEach((priority) => {
320
320
  const requestDetails = requests[priority].pop();
321
+ if (!requestDetails) {
322
+ return;
323
+ }
321
324
  const additionalDetails = requestDetails.additionalDetails;
322
325
  const { imageId, volumeId } = additionalDetails;
323
326
  let loadObject;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "2.17.5",
3
+ "version": "2.17.6",
4
4
  "description": "Cornerstone3D Core",
5
5
  "module": "./dist/esm/index.js",
6
6
  "types": "./dist/esm/index.d.ts",
@@ -82,5 +82,5 @@
82
82
  "type": "individual",
83
83
  "url": "https://ohif.org/donate"
84
84
  },
85
- "gitHead": "e15f97df90f4e61944ab45bed26e0a472d05df00"
85
+ "gitHead": "ed6fea9289da25d37aefe5a551e6aada36101d2f"
86
86
  }