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

Commit ae5f0d1a authored by Andrei Homescu's avatar Andrei Homescu
Browse files

Revert "Revert "libbinder: Flush excess refs after single async transaction""

This reverts commit 655d5710.

Reason for revert: fixed OnewayCallQueuingWithFds

Bug: 259517277
Test: binderRpcTestNoKernel --gtest_filter="*OnewayCallQueueingWithFds*" --gtest_repeat=10 --gtest_break_on_failure
Change-Id: I7c6440232dbed2b1b808de64ddb23a4292c96428
parent 5f2bc56d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);