diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2002-08-28 06:30:47 +0400 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2002-08-28 06:30:47 +0400 |
commit | 5bf2383288e14fc68acf5f8447be5d6c8fd9aaa4 (patch) | |
tree | cc4d51314422ad9310c3366f6dad047c679927f2 /mcs/class/corlib/System.IO/MemoryStream.cs | |
parent | 3e02dca4b6c871415bf440572a742e2dbb999863 (diff) |
2002-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.IO/BinaryReader.cs:
* System.IO/BinaryWriter.cs:
* System.IO/MemoryStream.cs:
* System.IO/StreamReader.cs:
* System.IO/StreamWriter.cs:
* System.IO/StringReader.cs:
* System.IO/StringWriter.cs:
* System.IO/TextWriter.cs:
* System.Threading/WaitHandle.cs: IDisposable fixes.
svn path=/trunk/mcs/; revision=7118
Diffstat (limited to 'mcs/class/corlib/System.IO/MemoryStream.cs')
-rw-r--r-- | mcs/class/corlib/System.IO/MemoryStream.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mcs/class/corlib/System.IO/MemoryStream.cs b/mcs/class/corlib/System.IO/MemoryStream.cs index 2d0ba613512..87d1d969561 100644 --- a/mcs/class/corlib/System.IO/MemoryStream.cs +++ b/mcs/class/corlib/System.IO/MemoryStream.cs @@ -197,7 +197,8 @@ namespace System.IO { throw new IOException( "MemoryStream already closed" );
}
- streamClosed = true;
+ streamClosed = true;
+ internalBuffer = null;
}
public override void Flush() { }
|