Skip to content

Commit

Permalink
Prevent crash on cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
ShortDevelopment committed Sep 5, 2023
1 parent c959d94 commit e09c76d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void Accept(IReadOnlyList<Stream> fileStream)
}

public void Cancel()
=> _promise.SetCanceled();
=> _promise.TrySetCanceled();

internal Stream GetStream(uint contentId)
{
Expand Down

0 comments on commit e09c76d

Please sign in to comment.