Page MenuHomePhabricator

LocalStorages have no way of calling ReleaseGraphicsResources when deleted
Closed, WontfixPublic

Description

It should be possible to write a destructor for a LocalStorage where the associated BaseRenderer is known.
I suggest to add a virtual method to the BaseLocalStorage:

virtual void DeleteStorage(mitk::BaseRenderer *renderer)

which is called for each Localstorage in the destructor of the LocalStorageHandler.
This is necessary for removing overlays from the overlaymanager and also to call ReleaseGraphicsResources on the actors.

Event Timeline

kislinsk claimed this task.
kislinsk added a project: Auto-closed.
kislinsk added a subscriber: kislinsk.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs

kislinsk removed kislinsk as the assignee of this task.May 26 2020, 12:05 PM
kislinsk removed a subscriber: kislinsk.