12
I have a List<System.Threading.Timer>. Each Timer fires at a configurable interval (default 10 minutes). All call the same callback method (with a different parameter). The callback method can take several seconds to complete it's work.
When the program terminates, it looks like execution of the callback method is immediately halted (am I seeing that correctly?).
How can I elegantly wait for any currently-executing callback methods to complete before exiting the program?