diff options
Diffstat (limited to 'libs/binder/RpcServer.cpp')
| -rw-r--r-- | libs/binder/RpcServer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/binder/RpcServer.cpp b/libs/binder/RpcServer.cpp index 2a87ae4298..9943e47021 100644 --- a/libs/binder/RpcServer.cpp +++ b/libs/binder/RpcServer.cpp @@ -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; } |