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

Commit 335e0f89 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "OMXNodeInstance: use a lock around OMX::freeNode" into oc-mr1-dev

parents 5e6df68c bdc0f0f0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -495,6 +495,9 @@ status_t OMXNodeInstance::freeNode() {
            LOG_ALWAYS_FATAL("unknown state %s(%#x).", asString(state), state);
            break;
    }

    Mutex::Autolock _l(mLock);

    status_t err = mOwner->freeNode(this);

    mDispatcher.clear();