提交 e1b19fa2 编写于 作者: Y yinchuang

Fix dlclose bug of incorrect unload logic

Issue:I7DZL6
Signed-off-by: Nyinchuang <yinchuang@huawei.com>
Test: Build & Boot device
上级 6c15efe5
......@@ -3647,6 +3647,10 @@ static int dlclose_impl(struct dso *p)
if (--(p->nr_dlopen) > 0)
return 0;
if (p->parents_count > 0)
return 0;
trace_marker_reset();
trace_marker_begin(HITRACE_TAG_MUSL, "dlclose", p->name);
/* call destructors if needed */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册