Skip to content

Commit

Permalink
Add some more missinng ConfigureAwait(false)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-grzesiowski committed Oct 30, 2024
1 parent 5bef325 commit d6a5bbc
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 @@ -142,7 +142,7 @@ public async Task<PNResult<PNFetchHistoryResult>> ExecuteAsync()
throw new NotSupportedException("Only one channel can be used along with MessageActions");
}

return await History();
return await History().ConfigureAwait(false);
}

internal void Retry()
Expand Down
2 changes: 1 addition & 1 deletion src/Api/PubnubApi/EventEngine/Core/EffectDispatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public async Task Dispatch(IEffectInvocation invocation) {
OnEffectDispatch?.Invoke(invocation);

if (invocation is IEffectCancelInvocation) {
await effectInvocationHandlerMap[invocation.GetType()].Cancel();
await effectInvocationHandlerMap[invocation.GetType()].Cancel().ConfigureAwait(false);
} else
{
var handler = effectInvocationHandlerMap[invocation.GetType()];
Expand Down

0 comments on commit d6a5bbc

Please sign in to comment.