diff options
author | Treehugger Robot <android-build-prod@system.gserviceaccount.com> | 2018-07-25 04:20:30 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-07-25 04:20:30 +0000 |
commit | fe0c3f99d20afc0e0ab6c6ecc1401d06349b6e09 (patch) | |
tree | dc86f6923c78c714845ec3547d5fd8a94c7d7225 /libutils/RefBase.cpp | |
parent | 5ec25d8cf4e37df90d5b5eb96310d706768c5125 (diff) | |
parent | 9d353bef1ed72638b2fea0fbe1b01c6763006e18 (diff) |
Merge "libutils: Fix the fatal error to non fatal" into p-keystone-qcom
Diffstat (limited to 'libutils/RefBase.cpp')
-rw-r--r-- | libutils/RefBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libutils/RefBase.cpp b/libutils/RefBase.cpp index 8bccb0f5c..8eecaceeb 100644 --- a/libutils/RefBase.cpp +++ b/libutils/RefBase.cpp @@ -500,7 +500,7 @@ void RefBase::weakref_type::decWeak(const void* id) weakref_impl* const impl = static_cast<weakref_impl*>(this); impl->removeWeakRef(id); const int32_t c = impl->mWeak.fetch_sub(1, std::memory_order_release); - LOG_ALWAYS_FATAL_IF(BAD_WEAK(c), "decWeak called on %p too many times", + ALOGW_IF(BAD_WEAK(c), "decWeak called on %p too many times", this); if (c != 1) return; atomic_thread_fence(std::memory_order_acquire); |