[Mono-bugs] [Bug 53078][Nor] New - Thread not disposed if Start not called
Mon, 19 Jan 2004 19:23:12 -0500 (EST)
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 email@example.com.
--- shadow/53078 2004-01-19 19:23:12.000000000 -0500
+++ shadow/53078.tmp.11547 2004-01-19 19:23:12.000000000 -0500
@@ -0,0 +1,29 @@
+Product: Mono/Class Libraries
+Summary: Thread not disposed if Start not called
+Compile and run the attached test-19.cs sent by Derek McUmber.
+From another terminal: ps aux | grep mono (or whatever)
+You'll see that all those threads that are created but on which Start is
+not called are there, consuming memory and doing nothing.
+I created the attached test-19-small.cs which show the same problem.
+The question, Dick, is if we can delay CreateThread until th.Start() is
+actually called (a patch is provided) or if we have any other means for the
+GC to know that these objects are out of scope and finalize them.