fix: add force to remove image from cache (#5176)

This commit is contained in:
Salim Kanoun authored and GitHub committed 2025-07-03 14:14:19 -04:00
1 parent f7cf356d46
commit e277303395
1 file changed
+1 -1
@@ -107,7 +107,7 @@ class CornerstoneCacheService {
volume.imageIds.forEach(imageId => {
if (cs3DCache.getImageLoadObject(imageId)) {
cs3DCache.removeImageLoadObject(imageId);
cs3DCache.removeImageLoadObject(imageId, { force: true });
}
});
}