summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2018-05-22 09:50:49 -0700
committer Steven Moreland <smoreland@google.com> 2018-05-22 09:50:49 -0700
commitacb182d0d4dd5c9fd792ba3b09819e96bb7f8cdb (patch)
tree08de0f328774b22e68ac05ad02b9207bb2608c7f
parentc81f3d43fa09a41773aea8adc4c665ce5714af45 (diff)
Remove thread shutdown logic.
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 Change-Id: I2f7b8ed3c969c1e62879291424dfc6be20225dee
-rw-r--r--libs/binder/Static.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/libs/binder/Static.cpp b/libs/binder/Static.cpp
index f0613d1631..c3ba5a23c5 100644
--- a/libs/binder/Static.cpp
+++ b/libs/binder/Static.cpp
@@ -75,21 +75,6 @@ TextOutput& aerr(gStderrTextOutput);
Mutex gProcessMutex;
sp<ProcessState> gProcess;
-class LibBinderIPCtStatics
-{
-public:
- LibBinderIPCtStatics()
- {
- }
-
- ~LibBinderIPCtStatics()
- {
- IPCThreadState::shutdown();
- }
-};
-
-static LibBinderIPCtStatics gIPCStatics;
-
// ------------ IServiceManager.cpp
Mutex gDefaultServiceManagerLock;