diff options
author | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2019-04-22 13:53:07 +0800 |
---|---|---|
committer | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2019-04-22 13:53:07 +0800 |
commit | 46ac770dd55f51bc5d611ba3e5dd883e5f51edfa (patch) | |
tree | 6d13c6d635176d6ce411fabbe10cfcb2f6a4895a /src/hs-clientmanager.cpp | |
parent | f11aba0409610b3f6873006752579690225ca4be (diff) |
change hs_recoer
Change-Id: Iadfa3cafbde7df1faa06234c4633832819280bdd
Diffstat (limited to 'src/hs-clientmanager.cpp')
-rw-r--r-- | src/hs-clientmanager.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
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 |