summaryrefslogtreecommitdiff
path: root/libs/binder/RpcSession.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2022-06-10 19:21:45 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-06-10 19:21:45 +0000
commitece70230826f0f1e868c9a9d22c7cf9ca27de2c0 (patch)
tree1252ee5a4b2e9dbdf3b915dc896756dd05cf0827 /libs/binder/RpcSession.cpp
parentc25cfc6c8fe92fd92875a4d7717bbfe8f1bbdd48 (diff)
parent5e30146515bf3c6fa9632bf2ee0aef288cfe180f (diff)
Merge changes Ie9fa8c9c,I9773a4cf
* changes: libbinder: clear RpcTransportCtx for new sessions in RpcServer libbinder: switch sockaddr to byte array in RpcServer
Diffstat (limited to 'libs/binder/RpcSession.cpp')
-rw-r--r--libs/binder/RpcSession.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/binder/RpcSession.cpp b/libs/binder/RpcSession.cpp
index 5c35dd0ac1..8edc78f2f5 100644
--- a/libs/binder/RpcSession.cpp
+++ b/libs/binder/RpcSession.cpp
@@ -715,6 +715,7 @@ bool RpcSession::setForServer(const wp<RpcServer>& server, const wp<EventListene
LOG_ALWAYS_FATAL_IF(mEventListener != nullptr);
LOG_ALWAYS_FATAL_IF(eventListener == nullptr);
LOG_ALWAYS_FATAL_IF(mShutdownTrigger != nullptr);
+ LOG_ALWAYS_FATAL_IF(mCtx != nullptr);
mShutdownTrigger = FdTrigger::make();
if (mShutdownTrigger == nullptr) return false;