V
Vyacheslav Lukianov
Hello,
I've created a windows application with custom message loop, without using
an Application.Run method, and got all my forms not garbage-collected. Profiler
shows that forms' instances are referenced only by their own event handlers.
Clearing them manually helps, but this solution is not applicable for all
forms which can possibly be created inside the process. Can this somehow
be worked around?
Thanks,
--
Best regards,
Vyacheslav Lukianov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"
I've created a windows application with custom message loop, without using
an Application.Run method, and got all my forms not garbage-collected. Profiler
shows that forms' instances are referenced only by their own event handlers.
Clearing them manually helps, but this solution is not applicable for all
forms which can possibly be created inside the process. Can this somehow
be worked around?
Thanks,
--
Best regards,
Vyacheslav Lukianov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"