From acb182d0d4dd5c9fd792ba3b09819e96bb7f8cdb Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Tue, 22 May 2018 09:50:49 -0700 Subject: 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 --- libs/binder/Static.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'libs/binder/Static.cpp') 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 gProcess; -class LibBinderIPCtStatics -{ -public: - LibBinderIPCtStatics() - { - } - - ~LibBinderIPCtStatics() - { - IPCThreadState::shutdown(); - } -}; - -static LibBinderIPCtStatics gIPCStatics; - // ------------ IServiceManager.cpp Mutex gDefaultServiceManagerLock; -- cgit v1.2.3-59-g8ed1b