fix ref count problem

Signed-off-by: wanghaoxu <wanghaoxu1@huawei.com>
This commit is contained in:
wanghaoxu 2022-12-02 07:47:08 +00:00
parent 1121f94823
commit 28069bb1ae

View File

@ -41,7 +41,7 @@ public:
enum {
DATABUS_TYPE,
};
class DeathRecipient : public RefBase {
class DeathRecipient : public virtual RefBase {
public:
enum {
ADD_DEATH_RECIPIENT,