[Mono-list] System.Timers.TImer

Gonzalo Paniagua Javier gonzalo@ximian.com
30 Dec 2002 17:29:16 +0100


El dom, 29-12-2002 a las 20:27, Parrish M Myers escribió:
> Hello,
> 
> It seems I have been wresteling with this one for a while... and I
> can't understand the problem.
> 
> What is the proper way to stop and discard an instance of
> System.Timers.Timer?  As it seems my little application works quite
> well until I enable a timer.  Then Applicaiton.Quit() doesn't work...
> 

From the ChangeLog:

"Don't use timers yet. If you do, your program will never end."

The current implementation uses ThreadPool and that creates a thread to
monitor the pool and I don't know how to finish that thread once
created.

-Gonzalo