update: 更新文件 connected_nfc_tag_impl.cpp

Signed-off-by: zhangjunsheng1002 <kingson1002@126.com>
This commit is contained in:
zhangjunsheng1002
2026-08-04 15:15:12 +08:00
parent 700fad9415
commit 4596a4e6a2
@@ -73,7 +73,7 @@ int32_t ConnectedNfcTagImpl::RegisterCallBack(
HDF_LOGI("%{public}s", __func__);
{
std::lock_guard<std::mutex> lock(g_callbackMutex);
std::lock_guard<std::mutex> guard(g_callbackMutex);
if (callbackObj_ != nullptr) {
RemoveDeathRecipient(callbackObj_);
callbackObj_ = nullptr;