We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e3dacc commit 9369e71Copy full SHA for 9369e71
src/Middleware/Session/src/DistributedSession.cs
@@ -267,12 +267,6 @@ public async Task LoadAsync(CancellationToken cancellationToken = default)
267
/// <inheritdoc />
268
public async Task CommitAsync(CancellationToken cancellationToken = default)
269
{
270
- if (!IsAvailable)
271
- {
272
- _logger.SessionNotAvailable();
273
- return;
274
- }
275
-
276
using (var timeout = new CancellationTokenSource(_ioTimeout))
277
278
var cts = CancellationTokenSource.CreateLinkedTokenSource(timeout.Token, cancellationToken);
0 commit comments