summaryrefslogtreecommitdiff
path: root/Static.cpp
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2018-05-22 09:47:38 -0700
committerSteven Moreland <smoreland@google.com>2018-05-22 09:50:26 -0700
commitf88072e50de9e5e72ebf39d9cf42fa716f8337e0 (patch)
treef7319908a0b4e0814c153e94962bc3e7e4664f45 /Static.cpp
parent8c3f4bd89581e11ad40895511c0aeaa429e42631 (diff)
downloadlibhwbinder-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.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/Static.cpp b/Static.cpp
index c63e503..cdd3c7d 100644
--- a/Static.cpp
+++ b/Static.cpp
@@ -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