From d9b34c17c84e0e1a657a295dc2dd479948228945 Mon Sep 17 00:00:00 2001 From: "sungwook79.park" Date: Fri, 19 Jan 2018 17:18:34 +0900 Subject: [PATCH] Fix issue that C# TC is not running sometimes due to restart Change-Id: I0691cad89db6f62b7664921cd7800e2d50487016 Signed-off-by: sungwook79.park --- ism/src/isf_info_manager.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ism/src/isf_info_manager.cpp b/ism/src/isf_info_manager.cpp index 14d24a8..9680d2c 100644 --- a/ism/src/isf_info_manager.cpp +++ b/ism/src/isf_info_manager.cpp @@ -2772,9 +2772,12 @@ public: String uuid = hiit->second.uuid; HelperClientIndex::iterator it = m_helper_client_index.find (uuid); + String default_uuid = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_DEFAULT_ISE_UUID), String ("")); if ((hiit->second.option & SCIM_HELPER_AUTO_RESTART) && - (it != m_helper_client_index.end () && it->second.ref > 0)) + (default_uuid.compare (uuid) == 0 || default_uuid.compare ("") == 0) && + (it != m_helper_client_index.end () && it->second.ref > 0)) { restart = true; + } m_helper_client_index.erase (uuid); m_helper_info_repository.erase (hiit); -- 2.7.4