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

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

Merge "Fix status error to avoid releasing component twice"

parents 596187ec ce521ee6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1524,8 +1524,10 @@ void CCodec::flush() {

    {
        Mutexed<State>::Locked state(mState);
        if (state->get() == FLUSHING) {
            state->set(FLUSHED);
        }
    }
    mCallback->onFlushCompleted();
}