mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-23 16:20:00 +00:00
fix:unnecesary log
Signed-off-by: langsongping <langsongping1@huawei-partners.com>
This commit is contained in:
parent
0b589891e4
commit
117624d93c
@ -285,7 +285,7 @@ void WatcherManagerKits::RemoteWatcher::OnParameterChange(
|
||||
|
||||
void WatcherManagerKits::ParamWatcher::OnParameterChange(const std::string &name, const std::string &value)
|
||||
{
|
||||
WATCHER_LOGI("OnParameterChange name %s value %s", name.c_str(), value.c_str());
|
||||
WATCHER_LOGV("OnParameterChange name %s value %s", name.c_str(), value.c_str());
|
||||
uint32_t index = 0;
|
||||
ParameterChangeListener *listener = GetParameterListener(&index);
|
||||
while (listener != nullptr) {
|
||||
|
@ -772,7 +772,6 @@ WatcherGroup::~WatcherGroup(void)
|
||||
RemoteWatcher::~RemoteWatcher(void)
|
||||
{
|
||||
watcher_ = nullptr;
|
||||
WATCHER_LOGI("RemoteWatcher ");
|
||||
TraversalNodeSafe([](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t index) {
|
||||
list->RemoveNode(node);
|
||||
ParamWatcher *watcher = ConvertTo<ParamWatcher>(node);
|
||||
|
Loading…
Reference in New Issue
Block a user