Skip to content

Commit

Permalink
Use ConfigureAwait(false)
Browse files Browse the repository at this point in the history
  • Loading branch information
fubar-coder committed Mar 12, 2019
1 parent 2ad4c66 commit 70377fc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,8 @@ private async Task<IReadOnlyList<IUnixFileSystemEntry>> ConvertEntries(
try
{
var baseDir = dirEntry.FullName;
foreach (var child in (await getEntriesFunc()).Where(x => !x.Trashed.GetValueOrDefault()))
var children = await getEntriesFunc().ConfigureAwait(false);
foreach (var child in children.Where(x => !x.Trashed.GetValueOrDefault()))
{
var fullName = FileSystemExtensions.CombinePath(baseDir, child.Name);
if (child.IsDirectory())
Expand Down

0 comments on commit 70377fc

Please sign in to comment.