Dirkster99 / AvalonDock

Our own development branch of the well known WPF document docking library
Microsoft Public License
1.39k stars 318 forks source link

Removed the check for non-floating content #451

Open fredriks123 opened 1 year ago

fredriks123 commented 1 year ago

Removed the check for non-floating content before clearing PreviousContainer during LayoutRoot.CollectGarbage.

In the case of a detached content in a pane (content made floating), that content will already have been set as a child in a new floating window before LayoutRoot.CollectGarbage is called, thus not removing any possibly emptied panes.

fredriks123 commented 1 year ago

450