diff options
author | Lluis Sanchez <lluis@novell.com> | 2004-06-15 14:15:00 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2004-06-15 14:15:00 +0400 |
commit | 1c38fe883585b4847242b7d6eaec35c61edc800f (patch) | |
tree | 158d7aec563d9119ac4ecadcee4d1e1292ccce01 /mcs/class/System/System.Timers | |
parent | 6f79c6d07e6abdd0a1507325063f2b09be90833d (diff) |
* Timer.cs: The timer thread must be a background thread.
This fixes #58816.
svn path=/trunk/mcs/; revision=29594
Diffstat (limited to 'mcs/class/System/System.Timers')
-rw-r--r-- | mcs/class/System/System.Timers/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/System/System.Timers/Timer.cs | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/mcs/class/System/System.Timers/ChangeLog b/mcs/class/System/System.Timers/ChangeLog index da3f9bd3a6d..520c7dc26ba 100644 --- a/mcs/class/System/System.Timers/ChangeLog +++ b/mcs/class/System/System.Timers/ChangeLog @@ -1,3 +1,8 @@ +2004-06-15 Lluis Sanchez Gual <lluis@ximian.com> + + * Timer.cs: The timer thread must be a background thread. + This fixes #58816. + 2004-05-11 Gonzalo Paniagua Javier <gonzalo@ximian.com> * Timer.cs: if AutoReset, disable the timer before adding the callback diff --git a/mcs/class/System/System.Timers/Timer.cs b/mcs/class/System/System.Timers/Timer.cs index b3d413f4cc4..2a4ca3780a0 100644 --- a/mcs/class/System/System.Timers/Timer.cs +++ b/mcs/class/System/System.Timers/Timer.cs @@ -64,6 +64,7 @@ namespace System.Timers enabled = value; if (value) { Thread t = new Thread (new ThreadStart (StartTimer)); + t.IsBackground = true; t.Start (); } else { StopTimer (); |