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

Commit ddac83a5 authored by Jason Sams's avatar Jason Sams
Browse files

Fix extended logging for object dumping.

parent 5994cd28
Loading
Loading
Loading
Loading
+6 −12
Original line number Diff line number Diff line
@@ -182,17 +182,12 @@ void ObjectBase::zeroAllUserRef(Context *rsc)

    if (rsc->props.mLogObjects) {
        LOGV("Objects remaining.");
        o = rsc->mObjHead;
        while (o) {
            o->dumpLOGV("  ");
            o = o->mNext;
        }
        dumpAll(rsc);
    }
}

void ObjectBase::dumpAll(Context *rsc)
{
    if (rsc->props.mLogObjects) {
    LOGV("Dumping all objects");
    const ObjectBase * o = rsc->mObjHead;
    while (o) {
@@ -200,5 +195,4 @@ void ObjectBase::dumpAll(Context *rsc)
        o = o->mNext;
    }
}
}