X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fhomescreen.cpp;fp=src%2Fhomescreen.cpp;h=d63d5aa4aa40c2a1bef98f7979bd0074a46f4a96;hb=e24c504de6e4e98d500c6587bede79c7c93c84c2;hp=7457f88cbb78f542a3dd2cc7b96ea65f776f0781;hpb=560433708e4cbb466e170bc1370983f8eaaf23ca;p=apps%2Fagl-service-homescreen.git diff --git a/src/homescreen.cpp b/src/homescreen.cpp index 7457f88..d63d5aa 100644 --- a/src/homescreen.cpp +++ b/src/homescreen.cpp @@ -73,6 +73,9 @@ int hs_handshake::hs_sts = hs_handshake::Handshake_Idle; void handshake_subscribe_callback(struct json_object *obj, const char *error, const char *info) { AFB_NOTICE("subscribe handshake reply: obj=%s, error=%s, info=%s", json_object_to_json_string(obj), error, info); + if(hs_handshake::hs_sts == hs_handshake::Handshake_Over) { + return; + } if(error == nullptr) { hs_handshake::hs_sts = hs_handshake::Handshake_WaitEvent; }