1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/bzip2/src/CBZip2OutputStream.cs b/crypto/bzip2/src/CBZip2OutputStream.cs
index 80b054c29..ffac073fb 100644
--- a/crypto/bzip2/src/CBZip2OutputStream.cs
+++ b/crypto/bzip2/src/CBZip2OutputStream.cs
@@ -402,15 +402,15 @@ namespace Org.BouncyCastle.Apache.Bzip2
}
#else
public override void Close() {
- if (closed) {
+ if (closed)
return;
- }
Finish();
closed = true;
- base.Close();
Platform.Dispose(this.bsStream);
+
+ base.Close();
}
#endif
|