Skip to content

Commit

Permalink
Merge pull request #1045 from DuendeSoftware/releases/6.1.x
Browse files Browse the repository at this point in the history
Merge patch branch 6.1.7
  • Loading branch information
brockallen authored Oct 19, 2022
2 parents 6a5787d + 96a6d0b commit 7bc74ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public virtual async Task DeleteSessionAsync(string key, CancellationToken cance

cancellationToken = cancellationToken == CancellationToken.None ? CancellationTokenProvider.CancellationToken : cancellationToken;

var entity = (await Context.ServerSideSessions.AsNoTracking().Where(x => x.Key == key)
var entity = (await Context.ServerSideSessions.Where(x => x.Key == key)
.ToArrayAsync(cancellationToken))
.SingleOrDefault(x => x.Key == key);

Expand Down

0 comments on commit 7bc74ad

Please sign in to comment.