[Mono-bugs] [Bug 77847][Min] Changed - [PATCH] "Too many threads" error when starting and stopping a timer repeatedly

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Dec 17 16:44:06 EST 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by cmorgan at alum.wpi.edu.


--- shadow/77847	2006-12-17 16:41:53.000000000 -0500
+++ shadow/77847.tmp.20894	2006-12-17 16:44:06.000000000 -0500
@@ -254,6 +254,12 @@
 ------- Additional Comments From robertj at gmx.net  2006-12-17 16:41 -------
 Chris, please ;-) Don't you see what happens?
 You're overwriting the *same* timer instance every
 time the ctor gets called. Please remove the static Timer
 and make it a local variable in the ctor.
+------- Additional Comments From cmorgan at alum.wpi.edu  2006-12-17 16:44 -------
+Right right, let me change that. In the case of my actual app I don't
+use static variables like this so I'm still thinking it should reproduce.

More information about the mono-bugs mailing list