【bugfix】【非win场景启动hdc会存在非法操关闭文件句柄问题】【MAC场景保持原机制】【保持hdc -m启动前台server打印日志功能】

Signed-off-by: chenbo <chenbo18@huawei.com>
This commit is contained in:
chenbo 2024-11-14 17:20:09 +08:00
parent 391b1b1e5d
commit 644f46b2b3

View File

@ -2249,7 +2249,7 @@ void CloseOpenFd(void)
}
closedir(dir);
return;
#else
#elif defined(HOST_MAC)
int i;
const int maxFD = 1024;
for (i = 0; i < maxFD; ++i) {