提交 151b1d61 编写于 作者: L liyufan

Delete redundant dlclose

Delete redundant dlclose in socket_finalize

Issue: #I69YRR
Test: Build & Boot devices
Signed-off-by: Nliyufan <liyufan5@huawei.com>
上级 3c9db3b9
......@@ -41,10 +41,7 @@ static void socket_finalize()
((finalize_func_type)shared_lib_func[FINALIZE_FUNC])();
__current_dispatch = NULL;
__socket_hook_begin_flag = false;
void* library_handle = (void *)__ohos_socket_hook_shared_library;
if (library_handle != NULL) {
dlclose(library_handle);
}
// Don't dlclose because hidumper crash
}
static bool finish_install_ohos_socket_hooks(const char* options)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册