Change-Id: I0691cad89db6f62b7664921cd7800e2d50487016
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
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);