Dragablz icon indicating copy to clipboard operation
Dragablz copied to clipboard

Exists memory leak of bindings.

Open pgbo opened this issue 6 years ago • 0 comments

After reading this article Fighting Common WPF Memory Leaks with dotMemory

And profling my application use dotMemory, I find a memory leak in the style keyed MaterialDesignTabablzControlStyle of Themes\MaterialDesign.xaml, the same with Themes\Generic.xaml.

Below is the Binding leak:

<Binding ElementName="DefaultAddButton" Path="DesiredSize.Width" />
<Binding ElementName="SuffixContentControl" Path="DesiredSize.Width" />

Please let me know if you have any suggestion, Thanks very much!

pgbo avatar Jan 16 '19 12:01 pgbo