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

Commit 3f576731 authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "binderRpcTest: actually include strong count in leaked ref" am:...

Merge "binderRpcTest: actually include strong count in leaked ref" am: 9df841c8 am: c2bb5303 am: cf31f8e7 am: 06c5b6ef

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2237852



Change-Id: Ia3cbae9967eee8178cf3e3d8196b75b8a7888cf4
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 54f323b1 06c5b6ef
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -181,9 +181,10 @@ struct ProcessSession {
            wp<RpcSession> weakSession = session;
            session = nullptr;

            EXPECT_EQ(nullptr, weakSession.promote())
            sp<RpcSession> strongSession = weakSession.promote();
            EXPECT_EQ(nullptr, strongSession)
                    << (debugBacktrace(host.getPid()), debugBacktrace(getpid()), "Leaked sess: ")
                    << session->getStrongCount();
                    << strongSession->getStrongCount();
        }
    }
};