Skip to content
Commit 44435827 authored by Yuri Lin's avatar Yuri Lin
Browse files

Add a lock around mBuffer in Archive.

Channel removal was resulting in some concurrent modification exceptions, so this change both adds a lock to synchronize any read/write access to mBuffer and also adds a test to make sure attempted concurrent access works correctly.

Test: atest ArchiveTest before and after change
Fixes: 186860793
Change-Id: Ic5f15a0fd3de27a44cc755c5d2f8008887c6b5b9
parent 94592d36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment