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

Commit 442ee225 authored by Andy Hung's avatar Andy Hung Committed by Gerrit Code Review
Browse files

Merge "AudioFlinger: Ensure RecordTrack dtor called outside lock (pt 2)" into main

parents 3f4cf25a 460e10f5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -8650,6 +8650,9 @@ reacquire_wakelock:

        // loop over each active track
        for (size_t i = 0; i < size; i++) {
            if (activeTrack) {  // ensure track release is outside lock.
                oldActiveTracks.emplace_back(std::move(activeTrack));
            }
            activeTrack = activeTracks[i];

            // skip fast tracks, as those are handled directly by FastCapture