summary refs log tree commit diff
path: root/crypto/src/openpgp
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2015-11-08 12:43:15 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2015-11-08 12:43:15 +0700
commit0ff97264a685fba438b81238f692a4cbb942011f (patch)
tree2f2527937d551aad5ce0abc9351450d515cb9c2a /crypto/src/openpgp
parentDateTime portability changes for tests under PORTABLE (diff)
downloadBouncyCastle.NET-ed25519-0ff97264a685fba438b81238f692a4cbb942011f.tar.xz
Tighten up the correspondence b/w Close/Dispose
Diffstat (limited to 'crypto/src/openpgp')
-rw-r--r--crypto/src/openpgp/PgpCompressedDataGenerator.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/src/openpgp/PgpCompressedDataGenerator.cs b/crypto/src/openpgp/PgpCompressedDataGenerator.cs

index 2d20601f0..51b645279 100644 --- a/crypto/src/openpgp/PgpCompressedDataGenerator.cs +++ b/crypto/src/openpgp/PgpCompressedDataGenerator.cs
@@ -179,6 +179,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp if (disposing) { Finish(); + return; } base.Dispose(disposing); } @@ -204,6 +205,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp { Finish(); End(); + return; } base.Dispose(disposing); }