protected override void Dispose(bool disposing) { bundleOdbBackend.ReleasePackageStream(objectLocation, virtualFileStream ?? InternalStream); // If there was a VirtualFileStream, we don't want it to be released as it has been pushed back in the stream pool virtualFileStream = null; base.Dispose(disposing); }
protected override void Dispose(bool disposing) { bundleOdbBackend.ReleasePackageStream(objectLocation, innerStream); base.Dispose(disposing); }