@cornerstonejs/core 1.11.0 → 1.11.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
4
4
  "description": "",
5
5
  "main": "dist/umd/index.js",
6
6
  "types": "dist/esm/index.d.ts",
@@ -46,5 +46,5 @@
46
46
  "type": "individual",
47
47
  "url": "https://ohif.org/donate"
48
48
  },
49
- "gitHead": "051092e9ab0042b2c05c3a675514852c40296752"
49
+ "gitHead": "6d964dfaf15fc9ac45dd9e9241f387623860ac9f"
50
50
  }
@@ -151,12 +151,12 @@ export class ImageVolume implements IImageVolume {
151
151
  */
152
152
  destroy(): void {
153
153
  // TODO: GPU memory associated with volume is not cleared.
154
- this.vtkOpenGLTexture.releaseGraphicsResources();
155
- this.vtkOpenGLTexture.destroyTexture();
156
- this.vtkOpenGLTexture.delete();
157
154
  this.imageData.delete();
158
155
  this.imageData = null;
159
156
  this.scalarData = null;
157
+
158
+ this.vtkOpenGLTexture.releaseGraphicsResources();
159
+ this.vtkOpenGLTexture.delete();
160
160
  }
161
161
  }
162
162