lauromoura pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c0f3febccfc75c4a5876c5b4166c9d9142723b2a

commit c0f3febccfc75c4a5876c5b4166c9d9142723b2a
Author: Bruno da Silva Belo <[email protected]>
Date:   Fri Oct 25 11:22:35 2019 -0300

    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
---
 src/tests/efl_mono/Model.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tests/efl_mono/Model.cs b/src/tests/efl_mono/Model.cs
index 13e0d1559f..54f7200575 100644
--- a/src/tests/efl_mono/Model.cs
+++ b/src/tests/efl_mono/Model.cs
@@ -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();

-- 


Reply via email to