X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fhomescreen.cpp;h=1caa23da2fcd2a3ef5af3353137b42b42e6a7437;hb=fa01549aba442decaf7c6d5b655da2d15d1a32ed;hp=142007fb81cf939541ade41f1fb3facf03f53836;hpb=868898485c76ad5b0140e6528ba04c08878ea3ce;p=apps%2Fagl-service-homescreen.git diff --git a/src/homescreen.cpp b/src/homescreen.cpp index 142007f..1caa23d 100644 --- a/src/homescreen.cpp +++ b/src/homescreen.cpp @@ -183,12 +183,12 @@ int hs_instance::init(afb_api_t api) return -1; } - const struct handshake_info *h = hs_config.getHandshakeInfo(); - struct hs_handshake handshake(h->times, h->sleep); - if(handshake.start(api) < 0) { - AFB_ERROR("handshake with windowmanager failed."); - return -1; - } + // const struct handshake_info *h = hs_config.getHandshakeInfo(); + // struct hs_handshake handshake(h->times, h->sleep); + // if(handshake.start(api) < 0) { + // AFB_ERROR("handshake with windowmanager failed."); + // return -1; + // } if(app_recover == nullptr) { AFB_ERROR("app_recover is nullptr."); @@ -682,6 +682,7 @@ static int init(afb_api_t api) AFB_WARNING( "g_hs_instance isn't null."); delete g_hs_instance->client_manager; delete g_hs_instance->app_info; + delete g_hs_instance->app_recover; delete g_hs_instance; g_hs_instance = nullptr; }