diff options
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); } |