lauromoura pushed a commit to branch master.

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

commit ad48272ffe89bc3604a8c2c6fef41d1114b346b0
Author: Felipe Magno de Almeida <fel...@expertisesolutions.com.br>
Date:   Tue Sep 10 18:58:31 2019 -0300

    CSharp: Cleanup test that inserts idle event and do not remove it
    
    Summary: Remove idle event after running test so it doesn't impact with 
other tests that run after it
    
    Reviewers: lauromoura
    
    Reviewed By: lauromoura
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D9887
---
 src/tests/efl_mono/Events.cs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/tests/efl_mono/Events.cs b/src/tests/efl_mono/Events.cs
index d7da6f6c98..77a6dbfd60 100644
--- a/src/tests/efl_mono/Events.cs
+++ b/src/tests/efl_mono/Events.cs
@@ -39,6 +39,8 @@ class TestEoEvents
         Test.Assert(listener.called);
         Test.Assert(listener.correct_sender);
         Test.AssertEquals("loop_called", loop.GetName());
+
+        loop.IdleEvent -= listener.callback;
     }
 
     public static void event_with_string_payload()

-- 


Reply via email to