From 4596a4e6a29318bb89ea0653a52fa220289dd4dc Mon Sep 17 00:00:00 2001 From: zhangjunsheng1002 Date: Tue, 4 Aug 2026 15:15:12 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E6=9B=B4=E6=96=B0=E6=96=87=E4=BB=B6?= =?UTF-8?q?=20connected=5Fnfc=5Ftag=5Fimpl.cpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangjunsheng1002 --- connected_nfc_tag/hdi_service/connected_nfc_tag_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connected_nfc_tag/hdi_service/connected_nfc_tag_impl.cpp b/connected_nfc_tag/hdi_service/connected_nfc_tag_impl.cpp index 35bb637c60..9b20176b0c 100644 --- a/connected_nfc_tag/hdi_service/connected_nfc_tag_impl.cpp +++ b/connected_nfc_tag/hdi_service/connected_nfc_tag_impl.cpp @@ -73,7 +73,7 @@ int32_t ConnectedNfcTagImpl::RegisterCallBack( HDF_LOGI("%{public}s", __func__); { - std::lock_guard lock(g_callbackMutex); + std::lock_guard guard(g_callbackMutex); if (callbackObj_ != nullptr) { RemoveDeathRecipient(callbackObj_); callbackObj_ = nullptr;