coody_lock

Signed-off-by: 18434362016 <18434362016@163.com>
Change-Id: I9d75c929edc835562f4c28735b89be5400c1019f
This commit is contained in:
18434362016 2024-08-27 07:32:05 +00:00
parent 8bcf854526
commit d9ed8640e3

View File

@ -185,6 +185,7 @@ ErrCode AlgoMgr::Enable(Type type)
ErrCode AlgoMgr::Disable(Type type)
{
CALL_DEBUG_ENTER;
std::lock_guard lock(mutex_);
callAlgoNums_[type]--;
FI_HILOGI("callAlgoNums_:%{public}d", callAlgoNums_[type]);
if (callAlgoNums_[type] != 0) {