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

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

Merge "AudioRecord: fix AudioRecordThread crash upon exit" into nyc-mr2-dev

parents 98810b1a c60828e2
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: