csharp: Calling ConfigureAwait on tasks Model.

Summary: ref T8424

Reviewers: lauromoura, felipealmeida, YOhoho, segfaultxavi

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8424

Differential Revision: https://phab.enlightenment.org/D10496
This commit is contained in:
Bruno da Silva Belo 2019-10-25 11:22:35 -03:00 committed by Mike Blumenkrantz
parent 13bac4bfe1
commit a3234610a9
1 changed files with 2 additions and 2 deletions

View File

@ -42,10 +42,10 @@ public class TestModel {
var model = new Efl.GenericModel<VeggieViewModel>(veggies, loop);
Test.AssertEquals(3, (int)model.GetChildrenCount());
VeggieViewModel r2 = await model.GetAtAsync(1);
VeggieViewModel r2 = await model.GetAtAsync(1).ConfigureAwait(false);
Test.AssertEquals(r2.Name, "Romaine Lettuce");
VeggieViewModel r = await model.GetAtAsync(0);
VeggieViewModel r = await model.GetAtAsync(0).ConfigureAwait(false);
Test.AssertEquals(r.Name, "Tomato");
loop.End();