jpeg pushed a commit to branch efl-1.20.

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

commit 6cec74b81f11eccbc7026e62e577e6835201ba99
Author: Jean-Philippe Andre <[email protected]>
Date:   Fri Aug 18 15:00:27 2017 +0900

    elm_test: Fail nicely if plug can't connect
    
    This makes sure that
      elementary_test -to "Window Plug"
    exits nicely (with the exit policy on all window close) instead of
    hanging forever with an invisible window.
    
    @fix
---
 src/bin/elementary/test_win_plug.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/elementary/test_win_plug.c 
b/src/bin/elementary/test_win_plug.c
index ad94dde91d..c584af90ad 100644
--- a/src/bin/elementary/test_win_plug.c
+++ b/src/bin/elementary/test_win_plug.c
@@ -194,6 +194,7 @@ test_win_plug(void *data, Evas_Object *obj EINA_UNUSED, 
void *event_info EINA_UN
    if (!elm_plug_connect(plug, "ello", 0, EINA_FALSE))
      {
         _notify_error(data, "Unable to connect to the Window Socket!");
+        evas_object_del(win);
         return;
      }
 

-- 


Reply via email to