Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Ramstack.FileSystem.Amazon/S3UploadStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ internal sealed class S3UploadStream : Stream
private readonly FileStream _stream;
private readonly List<PartETag> _partETags;

private volatile int _disposed;
private int _disposed;

/// <inheritdoc />
public override bool CanRead => false;
Expand Down Expand Up @@ -157,6 +157,8 @@ protected override void Dispose(bool disposing)
using var scope = NullSynchronizationContext.CreateScope();
DisposeAsync().AsTask().Wait();
}

base.Dispose(disposing);
}

/// <inheritdoc />
Expand Down
Loading