mirror of
https://github.com/openharmony/drivers_peripheral.git
synced 2026-08-24 18:15:56 -04:00
update: 更新文件 connected_nfc_tag_impl.cpp
Signed-off-by: zhangjunsheng1002 <kingson1002@126.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user