commit | 504b720d1116199a699c31da78e9962a0f909703 | [log] [tgz] |
---|---|---|
author | Kamal Negi <kamaln@codeaurora.org> | Wed Mar 30 16:58:21 2016 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu May 12 22:38:28 2016 -0700 |
tree | 8ad39ac2c26c55491d52fc956239234a49e2f401 | |
parent | 8813e0feb3fcdf7f69ff4e8a7e6d9adc52e5d1fd [diff] |
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