Skip to content
Snippets Groups Projects
Commit 504b720d authored by Kamal Negi's avatar Kamal Negi Committed by Gerrit - the friendly Code Review server
Browse files

fm: Cleanup threads on FM close

On FM close, we don't wait for tx and rx threads to complete and
returns. If we turns on FM again and threads terminated during that
interval causes ANR as we destroy mutex during thread tremination
and on FM ON we try to acquire the destroyed mutex.
On FM close, wait for threads to be terminated and do the cleanup.

Change-Id: I5febb78be268488714a59049f0cede0020d814b5
parent 8813e0fe
No related branches found
No related tags found
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