diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-08-18 15:00:27 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-08-18 15:00:27 +0900 |
commit | e78e075a37c3bd61a704f6989968b5cf408c3a27 (patch) | |
tree | c8b76f37df2a23cd1c5bf5e2b5d6a3e2d68891fd | |
parent | a43740c074ae925d75ee5e7e5cbe54572ecbce3d (diff) | |
download | efl-e78e075a37c3bd61a704f6989968b5cf408c3a27.tar.gz |
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
-rw-r--r-- | src/bin/elementary/test_win_plug.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |