diff options
author | 2023-03-07 22:10:15 +0000 | |
---|---|---|
committer | 2023-03-07 22:10:15 +0000 | |
commit | cabecdc66a44cdc55a3613382ef31c403eaa9dc7 (patch) | |
tree | ab26c8444e2d2a63273c968b95d58ed38bfdd7f8 /libs/binder/RpcState.cpp | |
parent | 455ad23b5aef0e051e6fe77e4c6a84cc732864b1 (diff) | |
parent | ae5f0d1a74b0ea04656ec71d8a1d300236235af2 (diff) |
Merge "Revert "Revert "libbinder: Flush excess refs after single async transaction"""
Diffstat (limited to 'libs/binder/RpcState.cpp')
-rw-r--r-- | libs/binder/RpcState.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/binder/RpcState.cpp b/libs/binder/RpcState.cpp index 2b0e5bae0d..38bd081b8b 100644 --- a/libs/binder/RpcState.cpp +++ b/libs/binder/RpcState.cpp @@ -1036,8 +1036,8 @@ processTransactInternalTailCall: return DEAD_OBJECT; } - if (it->second.asyncTodo.size() == 0) return OK; - if (it->second.asyncTodo.top().asyncNumber == it->second.asyncNumber) { + if (it->second.asyncTodo.size() != 0 && + it->second.asyncTodo.top().asyncNumber == it->second.asyncNumber) { LOG_RPC_DETAIL("Found next async transaction %" PRIu64 " on %" PRIu64, it->second.asyncNumber, addr); |