Search found 4 matches

by donw146
Wed Feb 19, 2014 9:33 pm
Forum: Known Memory Issues
Topic: Control.ControlNativeWindow in the finalizer queue
Replies: 7
Views: 16190

Re: Control.ControlNativeWindow in the finalizer queue

Thanks for your feedback. I guess the Control.ControlNativeWindow instances previously being queued for finalization will remain a mystery. I did not knowingly fix any problem where the controls were being recreated. I've seen no sign of the problem since I did the GC.SuppressFinalize cleanup. I sho...
by donw146
Tue Feb 18, 2014 9:16 pm
Forum: Known Memory Issues
Topic: Control.ControlNativeWindow in the finalizer queue
Replies: 7
Views: 16190

Re: Control.ControlNativeWindow in the finalizer queue

I've made some fixes and ran the profiler again since my last post. The problem appears to be fixed and, while I have a theory about why it worked, I'd like your opinion. While the custom controls I posted about had to have a properly implemented public Dispose() method since they inherited it, I re...
by donw146
Fri Feb 14, 2014 4:01 pm
Forum: Known Memory Issues
Topic: Control.ControlNativeWindow in the finalizer queue
Replies: 7
Views: 16190

Re: Control.ControlNativeWindow in the finalizer queue

The suppressedGC field of the Control.ControlNativeWindow instance is false. Pictures are attached:
by donw146
Thu Feb 13, 2014 10:08 pm
Forum: Known Memory Issues
Topic: Control.ControlNativeWindow in the finalizer queue
Replies: 7
Views: 16190

Control.ControlNativeWindow in the finalizer queue

The problem I am seeing many times in my most recent profiler run with version 4.6.68, .Net 4.5, VS 2012 and Windows 7 64-bit is described below based on the instance graph. I have a custom control, which inherits from UserControl, which is marked as disposed in the graph. It show a reference throug...