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

Commit fc1f308c authored by Jeff Tinker's avatar Jeff Tinker Committed by Android Git Automerger
Browse files

am de836890: am ef07386e: Prevent IPCThreadState::joinThreadPool from spinning on unexpected error

* commit 'de836890':
  Prevent IPCThreadState::joinThreadPool from spinning on unexpected error
parents b4b63704 de836890
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -467,6 +467,10 @@ void IPCThreadState::joinThreadPool(bool isMain)


            result = executeCommand(cmd);
        } else if (result != TIMED_OUT && result != -ECONNREFUSED && result != -EBADF) {
            ALOGE("talkWithDriver(fd=%d) returned unexpected error %d, aborting",
                  mProcess->mDriverFD, result);
            abort();
        }
        
        // After executing the command, ensure that the thread is returned to the