Commit f06dd0cd authored by Alice Ryhl's avatar Alice Ryhl
Browse files

ANDROID: rust_binder: release threads before refs



Commit 5da94eac ("ANDROID: rust_binder: print and avoid underflow
with invalid refcnt") added a print when decrementing the refcount if
the ref doesn't exist. This revealed that this sometimes happens inside
thread.release() because the refs were cleared before releasing the
threads. In principle this error is harmless, but to avoid printing this
error, release threads before clearing refs.

Bug: 430660253
Change-Id: I9ceb71ca831f5bb58193e12951245bab19ea4fa2
Signed-off-by: default avatarAlice Ryhl <aliceryhl@google.com>
parent 5bbd30a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment