mirror of
https://gitee.com/openharmony/communication_ipc
synced 2024-11-30 19:40:49 +00:00
加SendObituary时保证proxy可用性
Signed-off-by: wanderer-dl122 <dengliang26@huawei.com>
This commit is contained in:
parent
aae94d4046
commit
00d977eca2
@ -449,6 +449,8 @@ void BinderInvoker::OnBinderDied()
|
||||
if (proxy->AttemptIncStrongRef(this)) {
|
||||
proxy->SendObituary();
|
||||
proxy->DecStrongRef(this);
|
||||
} else {
|
||||
ZLOGW(LABEL, "failed to increase strong reference count");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user