I have application WinForms/WPF.
WinForms window opening WPF window with RadTabControl. And if I just open WPF window and immediately his close, GC removed this object. It working many times. But, if I open WPF window then click in oher RadTabItem (SelectionChange event) GC do not remove this object, and if I do it many times, GS remove all WPF window object except one. This one WPF window object is live always.
Way it is so? And how fix this bug?
This is Demo project
PS. Why first time opening WPF window is so long time? And following WPF window do it faster.