diff options
author | Steven Moreland <smoreland@google.com> | 2018-05-22 09:47:38 -0700 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2018-05-22 09:50:26 -0700 |
commit | f88072e50de9e5e72ebf39d9cf42fa716f8337e0 (patch) | |
tree | f7319908a0b4e0814c153e94962bc3e7e4664f45 /Static.cpp | |
parent | 8c3f4bd89581e11ad40895511c0aeaa429e42631 (diff) | |
download | libhwbinder-f88072e50de9e5e72ebf39d9cf42fa716f8337e0.tar.gz |
Remove thread shutdown logic.android-o-mr1-iot-release-1.0.1
This logic wasn't right, and the kernel will clean
it up anyway. Since loading and unloading this library
isn't supported, I'm removing this race-prone section
of code until someone has a reason to and decides to
support this usecase.
Bug: 77934844
Test: (walleye) device boots/shutdowns w/o fatal errors
Test: (walleye) system/tools/hidl/test/run_all_device_tests.sh
Change-Id: I638f1741bf9d47e4113e65ecae8c9b278cee0cfa
Diffstat (limited to 'Static.cpp')
-rw-r--r-- | Static.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -76,20 +76,5 @@ TextOutput& aerr(gStderrTextOutput); Mutex gProcessMutex; sp<ProcessState> gProcess; -class LibHwbinderIPCtStatics -{ -public: - LibHwbinderIPCtStatics() - { - } - - ~LibHwbinderIPCtStatics() - { - IPCThreadState::shutdown(); - } -}; - -static LibHwbinderIPCtStatics gIPCStatics; - } // namespace hardware } // namespace android |