Skip to content

ENH: Added the concept of markedForRemoval to Resources

Robert M. O'Bara requested to merge bob.obara/smtk:addingMarkedForRemoval into master

Resources can now be markedForRemoval indicating that the resource will be removed from memory (as apposed to deletion which also means it is being deleted from storage as well). This can be used in the UI to determine if a View needs to worry about keeping its contents up to date if the reason it is using is going to be removed. This also gets around a current issue with the Resource Links system which will cause a resource to be pulled back into memory even though the resources that its associated with is going to be removed.

Another benefit is to potentially optimize the removal of components when its resource is targeted for removal.

Merge request reports