icsharpcode / WpfDesigner

The WPF Designer from SharpDevelop
MIT License
958 stars 259 forks source link

Memory Leak in PropertyGrid when Rearranging Controls #64

Open ezolotko opened 5 years ago

ezolotko commented 5 years ago

Hello, I think I found a memory leak. Here are the steps to reproduce it on Demo.XamlDesigner:

Here is the screen recording video of this process.

If you comment out the PropertyGrid.Reload method body, the problem seems to disappear. This this might be PropertyNode - related. However, I was unable to track down the object retention problem to fix it.