fix: add force to remove image from cache (#5176)
This commit is contained in:
parent
f7cf356d46
commit
e277303395
@ -107,7 +107,7 @@ class CornerstoneCacheService {
|
|||||||
|
|
||||||
volume.imageIds.forEach(imageId => {
|
volume.imageIds.forEach(imageId => {
|
||||||
if (cs3DCache.getImageLoadObject(imageId)) {
|
if (cs3DCache.getImageLoadObject(imageId)) {
|
||||||
cs3DCache.removeImageLoadObject(imageId);
|
cs3DCache.removeImageLoadObject(imageId, { force: true });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user