diff --git a/services/core/src/deviceprofilemanager/device_profile_manager.cpp b/services/core/src/deviceprofilemanager/device_profile_manager.cpp index d3bbc687dba90c405a525856fb0bb78d87d4b381..fd28056a454aeb2a61bbfc4006836b1961245c60 100644 --- a/services/core/src/deviceprofilemanager/device_profile_manager.cpp +++ b/services/core/src/deviceprofilemanager/device_profile_manager.cpp @@ -82,6 +82,7 @@ int32_t DeviceProfileManager::UnInit() std::lock_guard lock(putTempCacheMutex_); putTempCache_.clear(); } + isFirst_.store(true); UnloadDpSyncAdapter(); return DP_SUCCESS; }