commit | b1c7d06b1fe4d2b702b3512f946f9a5041fb4ef5 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Apr 22 10:27:47 2019 -0700 |
committer | Steven Moreland <smoreland@google.com> | Mon Apr 22 20:35:30 2019 +0000 |
tree | 409e1c821b4c0703cfacf9c28e319c13361682c0 | |
parent | 070ec135f3db516b229aa1c913874c943eaac7b3 [diff] |
Do not destruct static maps. In case they are deleted while some threads are using them (this happens sometimes depending on how these libraries are loaded and how they are being used). Noting that b/69122224 is filed to move these into functions. Bug: 129726097 Test: HIDL's run_all_device_tests.sh Test: no longer see error where it repro'd before: FORTIFY: pthread_mutex_lock called on a destroyed mutex Change-Id: I66eb9aa24e31d7fc652f0426361c17600b4716ec