Saw some strange console app behavior while hosting quartz.net had to doublecheck that a console app will not exit while background threads are running. In the example below, once the main method ends, the app stays alive for 10 seconds while the background thread finishes.
- static void Main(string args)
- Thread t = new Thread(SleepyTime);
- static void SleepyTime()
You need to login to post a comment.