Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 430d3cbd authored by Jintao Zhu's avatar Jintao Zhu
Browse files

Fix RefBase Explicit destruction



For an object to be managed by std smart pointer, its base class should NOT be "RefBase".  It is not only unnecessary but also risking the object being owned by android smart pointer as well, which may destroy the object two times.

This issue may be detected by the destructor of class RefBase, with the log complaint "RefBase: Explicit destruction,..."

Test: monkey test for one day and one night

Signed-off-by: default avatarJintao Zhu <zhujtcsieee@gmail.com>
Change-Id: I853ca92b9176eb70b25c6a4acf1a32dce1d8f8d5
parent 0a2021b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment