diff options
Diffstat (limited to 'crypto/src/util/io/TeeOutputStream.cs')
-rw-r--r-- | crypto/src/util/io/TeeOutputStream.cs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/crypto/src/util/io/TeeOutputStream.cs b/crypto/src/util/io/TeeOutputStream.cs index 965ef23c8..fe3a7586a 100644 --- a/crypto/src/util/io/TeeOutputStream.cs +++ b/crypto/src/util/io/TeeOutputStream.cs @@ -18,14 +18,11 @@ namespace Org.BouncyCastle.Utilities.IO this.tee = tee; } - protected override void Dispose(bool disposing) - { - if (disposing) - { - output.Dispose(); - tee.Dispose(); - } - } + public override void Close() + { + output.Close(); + tee.Close(); + } public override void Write(byte[] buffer, int offset, int count) { |