Skip to content

Commit

Permalink
Merge pull request #72 from svella-at-nice/svella/persistence-fix
Browse files Browse the repository at this point in the history
Fix persistence in GroupActorGrain and UserActorGrain
  • Loading branch information
LiamMorrow authored Dec 2, 2023
2 parents 0f3601d + 0c16d05 commit e45364a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ CancellationToken cancellationToken

private Task WriteStateIfDirty(object? _)
{
if (dirty)
if (!dirty)
return Task.CompletedTask;
return WriteStateAsync();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ CancellationToken cancellationToken

private Task WriteStateIfDirty(object? _)
{
if (dirty)
if (!dirty)
return Task.CompletedTask;
return WriteStateAsync();
}
Expand Down

0 comments on commit e45364a

Please sign in to comment.