未验证 提交 0f8e33dd 编写于 作者: O openharmony_ci 提交者: Gitee

!1605 fix ut

Merge pull request !1605 from Mupceet/monthly_cc_fix_ut
...@@ -307,7 +307,9 @@ void WatcherManager::OnStart() ...@@ -307,7 +307,9 @@ void WatcherManager::OnStart()
bool res = Publish(this); bool res = Publish(this);
if (!res) { if (!res) {
WATCHER_LOGE("WatcherManager Publish failed"); WATCHER_LOGE("WatcherManager Publish failed");
#ifndef STARTUP_INIT_TEST
return; return;
#endif
} }
if (deathRecipient_ == nullptr) { if (deathRecipient_ == nullptr) {
deathRecipient_ = new DeathRecipient(this); deathRecipient_ = new DeathRecipient(this);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册