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

Commit b5c1362b authored by Andy Hung's avatar Andy Hung Committed by Automerger Merge Worker
Browse files

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

parents bcc39659 442ee225
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -8671,6 +8671,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