Author: toshok
Date: 2005-05-02 04:16:35 -0400 (Mon, 02 May 2005)
New Revision: 43869
Modified:
trunk/debugger/ChangeLog
trunk/debugger/backends/ThreadManager.cs
Log:
2005-05-02 Chris Toshok <[EMAIL PROTECTED]>
* backends/ThreadManager.cs (ThreadManager.Dispose): fix bug
disposing of main_process.
Modified: trunk/debugger/ChangeLog
===================================================================
--- trunk/debugger/ChangeLog 2005-05-02 08:05:05 UTC (rev 43868)
+++ trunk/debugger/ChangeLog 2005-05-02 08:16:35 UTC (rev 43869)
@@ -1,5 +1,10 @@
2005-05-02 Chris Toshok <[EMAIL PROTECTED]>
+ * backends/ThreadManager.cs (ThreadManager.Dispose): fix bug
+ disposing of main_process.
+
+2005-05-02 Chris Toshok <[EMAIL PROTECTED]>
+
* wrapper/Makefile.am (MCS_FLAGS): use -debug instead of -g, and
turn off warnings about private things that are never used.
Modified: trunk/debugger/backends/ThreadManager.cs
===================================================================
--- trunk/debugger/backends/ThreadManager.cs 2005-05-02 08:05:05 UTC (rev
43868)
+++ trunk/debugger/backends/ThreadManager.cs 2005-05-02 08:16:35 UTC (rev
43869)
@@ -699,18 +699,18 @@
thread_hash.Values.CopyTo (threads, 0);
for (i = 0; i < threads.Length; i++) {
- if (main_process != null &&
main_process == threads[i].Process)
+ if (main_process == threads[i].Process)
main_in_threads = true;
threads [i].Kill ();
}
- if (!main_in_threads)
+ if (main_process != null && !main_in_threads)
main_process.Kill ();
for (i = 0; i < threads.Length; i ++)
threads[i].Dispose ();
- if (!main_in_threads)
+ if (main_process != null && !main_in_threads)
main_process.Dispose ();
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches