I have a shell with a tab region that injects multiple tabs as workspaces. Each workspace can be from a different module and usually has many injected/nested/child views.
When a view is removed from a region it is not destroyed/garbage collected.
Is there a supported method to removing and destroying a parent view which in turn cleans up all nested/child regions and views?
Or, do we have to come up with a manual approach by triggering some method when the view is removed, to then also destroy the view and any child components?
We're currently in WPF but may be switching to Silverlight if that has any bearing on things.
Thanks in advance.