未验证 提交 344eac92 编写于 作者: O openharmony_ci 提交者: Gitee

!781 Delete redundant dlclose

Merge pull request !781 from liyufan/master
...@@ -41,10 +41,7 @@ static void socket_finalize() ...@@ -41,10 +41,7 @@ static void socket_finalize()
((finalize_func_type)shared_lib_func[FINALIZE_FUNC])(); ((finalize_func_type)shared_lib_func[FINALIZE_FUNC])();
__current_dispatch = NULL; __current_dispatch = NULL;
__socket_hook_begin_flag = false; __socket_hook_begin_flag = false;
void* library_handle = (void *)__ohos_socket_hook_shared_library; // Don't dlclose because hidumper crash
if (library_handle != NULL) {
dlclose(library_handle);
}
} }
static bool finish_install_ohos_socket_hooks(const char* options) 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.
先完成此消息的编辑!
想要评论请 注册