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

Commit edff82ea authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "libbinder: better RpcSession shutdown detail logs" am: f94b148b am: 59f39095

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1767090

Change-Id: I4574bea69fddfe1e4c91b6df1e161daf6bbeaa29
parents 2786702b 59f39095
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -182,7 +182,7 @@ void RpcServer::join() {
bool RpcServer::shutdown() {
    std::unique_lock<std::mutex> _l(mLock);
    if (mShutdownTrigger == nullptr) {
        LOG_RPC_DETAIL("Cannot shutdown. No shutdown trigger installed.");
        LOG_RPC_DETAIL("Cannot shutdown. No shutdown trigger installed (already shutdown?)");
        return false;
    }

@@ -212,6 +212,8 @@ bool RpcServer::shutdown() {
        mJoinThread.reset();
    }

    LOG_RPC_DETAIL("Finished waiting on shutdown.");

    mShutdownTrigger = nullptr;
    return true;
}