[Mono-list] Any memory leak in this code snippet?

"Andrés G. Aragoneses [ knocte ] "Andrés G. Aragoneses [ knocte ]
Sun Nov 4 14:27:07 EST 2007


Could you advise me if there could be any memory leak in this C# code 
snippet?:

http://monoport.com/5305

As I understand, I have closed all risky objects: EventWaitHandle, and 
Timer. Do I need to unregister the Elapsed event handler with the 
delegate ( -= ) before disposing the timer? or it isn't necessary?

Thanks in advance,

	Andrés	[ knocte ]

-- 



More information about the Mono-list mailing list