summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Devin Moore <devinmoore@google.com> 2023-04-05 19:15:52 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-04-05 19:15:52 +0000
commit42c73a38fc6b2e78e6c7cbe33f9601ebaa245036 (patch)
tree2b10c96e47e2ff8ab7ac433b4f46a1874b1cf5cd
parent953901508c4139d6ed9d5cf22edfc6846c650de0 (diff)
parent06add175b09d4d0c42857433966c9d5e345d1ea4 (diff)
Merge "Clarify RpcServer shutdown error for corner case"
-rw-r--r--libs/binder/RpcServer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/binder/RpcServer.cpp b/libs/binder/RpcServer.cpp
index 0d06e9e83b..851b407a8d 100644
--- a/libs/binder/RpcServer.cpp
+++ b/libs/binder/RpcServer.cpp
@@ -295,7 +295,8 @@ void RpcServer::join() {
bool RpcServer::shutdown() {
RpcMutexUniqueLock _l(mLock);
if (mShutdownTrigger == nullptr) {
- LOG_RPC_DETAIL("Cannot shutdown. No shutdown trigger installed (already shutdown?)");
+ LOG_RPC_DETAIL("Cannot shutdown. No shutdown trigger installed (already shutdown, or not "
+ "joined yet?)");
return false;
}