Alexander Khukhlaev

Results 39 comments of Alexander Khukhlaev

Now another problem has opened up. X11 can issue the same hwnd number before the old one receives xdestroywindow and then retires from Hwnds. When creating a new hwnd, the...

My problem sometimes occurs after calling Dispose for each Label from the list. I am dynamically adding multiple Labels to the Panel. And then I clean it. As for the...

GC handle it, but Pen, Font, Graphics and other objects that implement IDisposable and are located in the System.Drawing, in Windows, are USER or GDI objects and are limited by...

If memory in your test steel leaking, than better to look at collections like List, ArrayList, Hashtable, Dictionary in your code. If you store Buttons, Labels and other controls in...

Now my project is running out of memory after 3 hours of work. Since the project is on .net 6 and uses the same Winforms, I can better explore memory...

It is suspected that the controls are not destroyed by the finalizer, because NativeWindow.window_collection holds links to them. window_collection has the HashTable type. This applies to those controls for which...

Buit-in types do not need disposing, but System.Collections>Hashtable.bucket[] is issue. It is NativeWindow.window_collection object. And here goes another leak. If I need to create Labels dynamically, I will store them...

@kriskazmar In case it interests you, there was a bugzilla product for mono and a component for winforms added earlier: https://bugs.winehq.org/describecomponents.cgi?product=Mono and development of mono moved to https://gitlab.winehq.org/wine-mono/mono

Another hwnd leak happening if Control disposed by finalizer. I will continue working at https://gitlab.winehq.org/wine-mono/mono/-/merge_requests/37