update core/frame/standard/server/src/softbus_server.cpp.

This commit is contained in:
我是一只小小鸟 2021-07-26 08:24:40 +00:00 committed by Gitee
parent 38817e4f0c
commit b148bdb77d

View File

@ -144,10 +144,10 @@ int32_t SoftBusServer::GetNodeKeyInfo(const char *pkgName, const char *networkId
void SoftBusServer::OnStart()
{
LOG_INFO("SoftBusServer OnStart called!\n");
InitSoftBusServer();
if (!Publish(this)) {
LOG_ERR("SoftBusServer publish failed!\n");
}
InitSoftBusServer();
}
void SoftBusServer::OnStop() {}