commit | 10d5563f5c28c70b93f8910848b4ed7c062a1b24 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Apr 21 14:10:53 2020 -0700 |
committer | Steven Moreland <smoreland@google.com> | Tue Apr 21 14:10:53 2020 -0700 |
tree | c59f813d6ce895efd9e56f7d630d03dfd428de27 | |
parent | 79ef387d1a1b734a5c9b491b883c2e170dfacc41 [diff] |
Avoid deallocating hwsm statics during shutdown. We've had some reports of these being accessing during shutdown, causing a crash. This is a common issue, since binder threads may still be running while the main thread is shutdown. This is similar to 'DoNotDestruct' used elsewhere in libhidl*. Although, this class isn't used again here since there are no ABI requirements to maintain. Bug: 153909639 Test: boot on cuttlefish Change-Id: Ic01dc15f739a0957f39aaf6a7b3e17fc4f7f6048