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

This commit is contained in:
Salim Kanoun 2025-07-03 20:14:19 +02:00 committed by GitHub
parent f7cf356d46
commit e277303395
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -107,7 +107,7 @@ class CornerstoneCacheService {
volume.imageIds.forEach(imageId => {
if (cs3DCache.getImageLoadObject(imageId)) {
cs3DCache.removeImageLoadObject(imageId);
cs3DCache.removeImageLoadObject(imageId, { force: true });
}
});
}