Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit acb182d0 authored by Steven Moreland's avatar Steven Moreland
Browse files

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
parent c81f3d43
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -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;