ソースを参照

2004-01-03 Gonzalo Paniagua Javier <[email protected]>

	* AspGenerator.cs: don't rely on GC to close the files parsed. Fixes bug
	#52521. Patch by [email protected].

svn path=/trunk/mcs/; revision=21635
Gonzalo Paniagua Javier 22 年 前
コミット
b32f665e04

+ 1 - 0
mcs/class/System.Web/System.Web.Compilation/AspGenerator.cs

@@ -156,6 +156,7 @@ namespace System.Web.Compilation
 		{
 			StreamReader reader = new StreamReader (filename, WebEncoding.FileEncoding);
 			AspParser parser = new AspParser (filename, reader);
+			reader.Close ();
 			parser.Error += new ParseErrorHandler (ParseError);
 			parser.TagParsed += new TagParsedHandler (TagParsed);
 			parser.TextParsed += new TextParsedHandler (TextParsed);

+ 5 - 0
mcs/class/System.Web/System.Web.Compilation/ChangeLog

@@ -1,3 +1,8 @@
+2004-01-03  Gonzalo Paniagua Javier <[email protected]>
+
+	* AspGenerator.cs: don't rely on GC to close the files parsed. Fixes bug
+	#52521. Patch by [email protected].
+
 2003-12-25  Jackson Harper <[email protected]>
 
 	* AspGenerator.cs: Allow scriptlets in javascript. This fixes bug