midora Posted April 10, 2013 Share Posted April 10, 2013 I'm not sure if there is a problem maybe someone else likes to check or clarify this. I used my ExamplePropertyBasedEffect class to add output to DebugView in new and dispose. During startup of Paint.NET there is one new and one dispose of the effect instance. Then there is a second new which has no dispose. Now if I'm just clicking on the menu title 'Effects' there is a new (probably to get the submenu name). Doing clicking again and again does always a new but no dispose. Clicking on 'Adjustments' does always a new and a dispose. Clicking on other menu titles does no new and dispose. Closing of Paint.NET does not any dispose. Is this an issue with the garbage collector or a dangling / circula reference? Or may be just issue with understanding? The example project is attached. ExamplePropertyBasedEffect plus instance counter.zip Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.