Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2005-08-22 23:39:30 +0400
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2005-08-22 23:39:30 +0400
commit1046f8157f281be5e7e504589ca9afe3d8e24020 (patch)
tree0aa16bb7119a4016fde95d18c01c08b88ab8b815 /mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs
parentf18522243d576068a0f72b4192fb48984f6cb894 (diff)
2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: patch from Maksim Vorobiev that prevents InvalidOperationException if the thread running mcs is aborted. svn path=/trunk/mcs/; revision=48688
Diffstat (limited to 'mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs')
-rw-r--r--mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs b/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs
index 2e788893d57..0339ef48d40 100644
--- a/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs
+++ b/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs
@@ -173,8 +173,8 @@ namespace Mono.CSharp
mcs_output=mcs.StandardError.ReadToEnd();
mcs.StandardOutput.ReadToEnd ();
mcs.WaitForExit();
- } finally {
results.NativeCompilerReturnValue = mcs.ExitCode;
+ } finally {
mcs.Close();
}
mcs_output_lines=mcs_output.Split(