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
Loading
Please register or sign in to comment