summary refs log tree commit diff
path: root/crypto/src/util/io/TeeInputStream.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/util/io/TeeInputStream.cs')
-rw-r--r--crypto/src/util/io/TeeInputStream.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/util/io/TeeInputStream.cs b/crypto/src/util/io/TeeInputStream.cs
index 3d45bb4f1..7815fde76 100644
--- a/crypto/src/util/io/TeeInputStream.cs
+++ b/crypto/src/util/io/TeeInputStream.cs
@@ -22,8 +22,8 @@ namespace Org.BouncyCastle.Utilities.IO
         {
             if (disposing)
             {
-                Platform.Dispose(input);
-                Platform.Dispose(tee);
+                input.Dispose();
+                tee.Dispose();
             }
             base.Dispose(disposing);
         }