diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-11-08 12:43:15 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-11-08 12:43:15 +0700 |
commit | 0ff97264a685fba438b81238f692a4cbb942011f (patch) | |
tree | 2f2527937d551aad5ce0abc9351450d515cb9c2a /crypto/src/openpgp | |
parent | DateTime portability changes for tests under PORTABLE (diff) | |
download | BouncyCastle.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.cs | 2 |
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); } |