Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
MdiMergePlaceholderTools not being disposed
posted

Hi all, 

Currently running 12.2 Windows Forms components.  While running our app in a memory profiler, I've noticed the creation of a number of MdiMergePlaceholderTools and InstanceProps that are not released after closing the window being tested.  After repeated runs the number of these tools steadily increases and they do not ever seem to be disposed.  The same number of InstanceProps objects are being created, so it seems these tools also have instance props.

According to the help site, the MdiMergePlaceholderTool is "created internally as a wrapper to a merged tool from an MDI child".  I tried setting MdiMergable to false in our ToolbarManager, but this did not seem to have an effect.

Are these tools created in other components?  Do I need to do anything specific to get these released?

Thanks

EDIT: I accidentally posted this in the wrong section.  Please move to the appropriate topic.  Thanks!

  • 105
    posted

    Correction, setting MdiMergable to false DID prevent the creation of the tools.  However, this may be an option we want.  Is additional action required to have the tools disposed?