Closed 0xced closed 3 years ago
Thanks for this, I'll take a look over it in the next couple of days.
Great!
I'm currently using a stream wrapper that do not dispose the wrapped stream in order to workaround the exception I'm getting:
System.ObjectDisposedException
Cannot access a closed file.
I've just published this in v5.4.0
inputFileStream
instances are already disposed because they are inside ausing
block.inputStream
should not be disposed because it's the caller responsibility to dispose the input stream.secretOut
andpublicOut
should not be disposed , only theArmoredOutputStream
wrapper should be disposed.