Minggu, 22 Agustus 2010
Removing Event Handlers using Reflection
Introduction I've recently been working on a pretty massive WinForms project which is very complex. We noticed that the application was 'leaking' memory (i.e. the memory usage was continually growing despite objects being correctly 'Disposed'). Having run the application through SciTech's excellent .NET Memory Profiler we discovered the cause : "Direct EventHandler Roots".One of the biggest
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar