diff options
Diffstat (limited to 'crypto/src/util/io/TeeInputStream.cs')
-rw-r--r-- | crypto/src/util/io/TeeInputStream.cs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/crypto/src/util/io/TeeInputStream.cs b/crypto/src/util/io/TeeInputStream.cs index fed9823f0..373df4502 100644 --- a/crypto/src/util/io/TeeInputStream.cs +++ b/crypto/src/util/io/TeeInputStream.cs @@ -18,14 +18,11 @@ namespace Org.BouncyCastle.Utilities.IO this.tee = tee; } - protected override void Dispose(bool disposing) - { - if (disposing) - { - input.Dispose(); - tee.Dispose(); - } - } + public override void Close() + { + input.Close(); + tee.Close(); + } public override int Read(byte[] buf, int off, int len) { |