提交 79285e84 编写于 作者: C cheng_jinsong

fix ut

Signed-off-by: Ncheng_jinsong <chengjinsong2@huawei.com>
Change-Id: Ib14c796215fc646c12c36d0f37693fd301fdebaa
上级 e8394f70
......@@ -307,7 +307,9 @@ void WatcherManager::OnStart()
bool res = Publish(this);
if (!res) {
WATCHER_LOGE("WatcherManager Publish failed");
#ifndef STARTUP_INIT_TEST
return;
#endif
}
if (deathRecipient_ == nullptr) {
deathRecipient_ = new DeathRecipient(this);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册