Fix closure of record thread
Bug: 197763854 Fix: 197763854 Change-Id: I8c3e843ddac6ad77aecaca7c91f0884204145ee6
This commit is contained in:
parent
41b8fd1f9e
commit
6bf77fdf16
1 changed files with 1 additions and 0 deletions
|
@ -204,6 +204,7 @@ bool DvrCallback::readRecordFMQ() {
|
|||
void DvrCallback::stopRecordThread() {
|
||||
mKeepReadingRecordFMQ = false;
|
||||
mRecordThreadRunning = false;
|
||||
android::Mutex::Autolock autoLock(mRecordThreadLock);
|
||||
}
|
||||
|
||||
AssertionResult DvrTests::openDvrInDemux(DvrType type, uint32_t bufferSize) {
|
||||
|
|
Loading…
Reference in a new issue