X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fhs-clientmanager.cpp;h=83d6bb304deebd6238c7c0f0d42c15a45f60b69b;hb=46ac770dd55f51bc5d611ba3e5dd883e5f51edfa;hp=4a17b72f62967ac59580733e965326ae63a742d4;hpb=f11aba0409610b3f6873006752579690225ca4be;p=apps%2Fagl-service-homescreen.git diff --git a/src/hs-clientmanager.cpp b/src/hs-clientmanager.cpp index 4a17b72..83d6bb3 100644 --- a/src/hs-clientmanager.cpp +++ b/src/hs-clientmanager.cpp @@ -37,7 +37,7 @@ static void cbRemoveClientCtxt(void *data) * None * */ -HS_ClientManager::HS_ClientManager() : app_recover(nullptr) +HS_ClientManager::HS_ClientManager() { } @@ -246,8 +246,5 @@ int HS_ClientManager::pushEvent(const char *event, struct json_object *param, st */ void HS_ClientManager::registerApplication(std::string appid) { - if(app_recover != nullptr && app_recover->registerRecoveredApp(appid)) { - delete app_recover; - app_recover = nullptr; - } + } \ No newline at end of file