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

Commit 41cbae72 authored by Glenn Kasten's avatar Glenn Kasten Committed by Android (Google) Code Review
Browse files

Merge "AudioRecord: fix AudioRecordThread crash upon exit"

parents f348da28 e813ef93
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1274,6 +1274,9 @@ bool AudioRecord::AudioRecordThread::threadLoop()
            return true;
        }
    }
    if (exitPending()) {
        return false;
    }
    nsecs_t ns =  mReceiver.processAudioBuffer();
    switch (ns) {
    case 0: