mirror of
https://github.com/openharmony/utils_native.git
synced 2026-07-21 01:25:42 -04:00
@@ -352,7 +352,7 @@ void RefBase::DecStrongRef(const void *objectId)
|
||||
return;
|
||||
}
|
||||
|
||||
RefCounter *const refs = refs_;
|
||||
RefCounter * const refs = refs_;
|
||||
const int curCount = refs->DecStrongRefCount(objectId);
|
||||
if (curCount == 1) {
|
||||
OnLastStrongRef(objectId);
|
||||
|
||||
Reference in New Issue
Block a user